Instructions for multisite- keep existing domain running while building 2nd & 3rd multisites- domains exist at host as sites

Events happening in the community are now at Drupal community events on www.drupal.org.
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

Posted by Garrett Albright on January 13, 2009 at 4:15pm

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.

ln -s example3.com example3temp.com

symbolic links

Posted by brianosaur on January 13, 2009 at 7:42pm

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

Posted by Garrett Albright on January 13, 2009 at 9:59pm

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.

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /