Posted by brianosaur on January 13, 2009 at 6:08am
Hi folks:
Trying to wrap my head around this. I have three domains. The first installed fine with the drupal installation. I followed the directions for the multisite, but I have an issue. The second and third domain already exist on the host as a sub-domain and they are active sites. I need to be able to create these multisites, but also keep the other sites running (until the new multisite version has been launched in their place). Is there a way I can create a fake subdomain (i.e. example3temp.com) and then when all is working properly, change it over to the real domain (i.e. example3.com)?
Anyone know the best setup for this situation?
Thanks
Brian
Comments
One thread would have
One thread would have sufficed.
Anyway, yes, you can have two or more domain names share the same multisite settings. just create a symbolic link (AKA "alias" on the Mac; AKA "shortcut" on certain other operating systems not worth mentioning) of the "real" domain directory and name it to your "fake" domain name.
The Boise Drupal Guy!
symbolic links
Thanks Garrett and sorry for the two threads. I thought they might be different. Is there any documentation on creating a symbolic link? What I have seen so far seems to need to be Apache code. I don't think I have that ability on my lunarpages server to get in there like that. I am always game to try it, but not sure about it.
Symbolic links don't have
Symbolic links don't have anything to do with Apache. You'll probably need SSH access to the server; I know that Lunarpages provides this because I work with a client who uses them, but you have to pay an extra two bucks a month or something like that (which is stupid). You should also, hopefully, be familiar with a Unix command line. Beyond that, the line I posted above -
ln -s realdomain.com fakedomain.com...ought to do the trick.
The Boise Drupal Guy!