I have created a launchrock.com page and I am directing signup.mydomain.com there using a CNAME record in the DNS. That works fine however now I want to direct root traffic there too, i.e. mydomain.com. How do I go about this?
Launchrock give instructions to change the IP address of the A record, however I don't want to do this since I have other subdomains in use, including beta.mydomain.com. (These subdomains need to continue operating as they currently do).
How do I do this? I'm not sure whether it's a DNS change or an Apache change.
I am using a recent version of Apache on Ubuntu on AWS EC2.
As it turns out, the answer was simply to put a redirect command in the virtual host setup for the root host.