An external company holds the name servers for several domains for a web site which I host.
I host the site and have a vhost setup with the domainName and domainAlias for:
- www.example.com
- admin.example.com
The external domains also need to redirect to the site:
- www.somedomain.com
- www.anotherdomain.com
What must I add to my vhost container file to redirect all requests for somedomain and anotherdomain to the main www.example.com
(I plan to manage the www and non www requests with mod_rewrite.)