I have been working on a website for a customer. I am currently trying to transition the site I have been working to go live. I've read dreamhost's knowledge base but they didn't really seem to have answer for my question.I'm also currently using a free subdomain from dreamhost.My customer's domain names for the company are owned by the parent company so I have to give them DNS names, I can't get full control.My question is: how to add their domains (they have bought several domains) to point to my subdomain and have my subdomain cloaked... I am trying to avoid have to add several domains and then point to one main one. Rather have them all point to my subdomain and prevent me from having to copy the whole site but no one see my subdomain name.for example: http://mysubdomain.dreamhost.com/index.php -> http://www.customerdomain.com/index.php
5/2/2009 2:23:00 PM
you can't really do this with DNS aloneyou could have them create A records for their domains that point to your shared IP and then add identical vhosts to httpd.conf that point them to the same directory. not sure if dreamhost will let you edit conf files...the best option is just to add their domains to your account (they can keep the DNS hosted wherever they do, just change the A records) and create symlinks from the directory your subdomain's content is in to the new directory name. no moving/copying of content, update one copy, it's updated everywhere.
5/3/2009 2:41:45 PM