I am running app on mydomain.com, when abc customer ask for instance of my app, I create a subdomain (like abc.mydomain.com) and put copy of app to that subdomain. That's fine.
When abc ask for their own domain like "abc.com", I need to point abc.com to abc.mydoamin.com.
How do I do that ? My app is in php app runs on apache2.
I need to do this using CNAME recode
I tried putting CNAME recode to abc.com zone file to point abc.mydomain.com, But it doesn't show the content of abc.mydomain.com. It shows Apaches default page ("It Works").
IN NS ns1.mydomainserver.net; @ IN CNAME abc.mydomain.com;
What is the wrong with this? Is there any way to do this with-out touching vhost files on apache?