"Page Not Found" with multisite

newms - May 3, 2007 - 19:59

Hi,

I am trying to do a multisite installation. Let's say my main site is at http://mysite.com. I want to set up sites like this: http://mysite.com/site1. However, when I do the multisite set up, including having a folder site1.mysite.com in the sites directory, I get a "Page Not Found" error on the main site http://mysite.com when I go to http://mysite.com/site1. I've tried setting up an Apache vhost for http://mysite.com/site1, but that doesn't seem to work. Any ideas?

Some more info on what I'm trying to do can be seen here:

http://drupal.org/node/141107

Thanks

OK, I got it to work by

newms - May 3, 2007 - 21:31

OK, I got it to work by adding a symbolic link to site1 in the drupal install directory.

newms

Multi site not working

maanas - September 28, 2008 - 03:23

Can you tell in details how you achieved the result

you make a new folder called

betz - September 28, 2008 - 04:41

you make a new folder called foldername.example.com or example.com/foldername, depending on your apache settings (change this to your extra domainname)
in this folder you copy the default settings.php and you modify this php file to connect to the new db of your new site.
Then you make a simbolyc link in the drupal root with this shell command:
ln -s . foldername

This way it should work

 
 

Drupal is a registered trademark of Dries Buytaert.