Parked domain or URL forwarding or what?
Let's say I have domainA.com and domainB.com on my VPS server. They share an IP.A business partner of mine owns domainC.com. So, lets say he browses to domainC.com.
He wants the browser entry for domainC.com to go to the domainA.com website. However, he also wants the email for domainC to continue to be hosted elsewhere.
Setting up A and MX records are not sufficient because of the shared IP. It therefore seems like the way to do this is to park domainC under domainA. This idea was affirmed by someone in the ServInt NOC.
Then another person in the NOC suggested that the way to do this would be using a redirect directive in the Apache configuration. However, it seems like there should be an easier way to do this. I say this because we have a website hosted elsewhere that now has 7 domains pointing to it, to account for spelling variations in the url. It seems unlikely that the current host edited an Apache config file for this.
Others have suggested:
a. that URL forwarding set up on the nameserver might work. I don't know whether MX records can be applied to domains with URL forwarding.
b. that giving the hosted domains dedicated IPs so that the A records of the unhosted domains point unambiguously.
What's the right approach?
Thanks,
~Benway