How to write a virtual host config in apache for, a particular domains is not present in the list we mentioned in the vhost configuration, automatically apache need to redirect to our mentioned website in the config..... For eg:(listed domains) xxx.com yyy.com zzz.com
Suppose someone have to register subdomain or domain with our server ip like aaa.com, after they trying to access the aaa.com, apache automatically redirects to our mentioned site in apache vhost config....