I was not sure where to post this, in this forum or Installing Drupal since I already have a running installation and am trying to "add" multisite to it. So I apologize if this is the wrong place.
As I mentioned I have a site working fine at mysite.org on Dreamhost
I am trying to learn how to add additional "multi" sites to/under it, so I have the following folder structure in place.
mysite.org
mysite.org/sites
mysite.org/all
mysite.org/default
mysite.org/sites/multitest.mysite.org
mysite.org/sites/multitest.mysite.org/all
mysite.org/sites/multitest.mysite.org/default
I created a symlink using:
ln -s /home/username/mysite.org /home/username/multitest.mysite.org
I want to use different databases for each site so I have made that change to the settings.php under multitest.mysite.org.
I've also tried a couple of base_url changes in the same settings.php file
The problem I am having is both multitest.mysite.org and mysite.org display mysite.org
I am wondering since, I have never attempted to use symlinks before could my error be there.
Thanks in advance for any help.
Comments
That folder structure looks
That folder structure looks a bit odd. For a start, get rid of ....../multitest.mysite.org/all and .../default.
If the doc root for mysite.org is pointing to /home/username/mysite.org then you should have something like:
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
Putting the settings.php in
Putting the settings.php in the correct location has AMAZING results. lol Removing the /all folder was disappointing. I had the understanding I could place a customized theme there for each multisite. I'll have to read up on that.
Thanks for you eagle eye.
You can have customized theme for each site
The sites/default/ folder contains settings.php for mysite.org and can contain other folders: sites/default/themes for any custom themes only available to the one site; sites/default/modules for any custom modules only available to the one site.
Rinse and repeat with sites/multisite.mysite.org/ ...
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
Sharing themes among your
Sharing themes among your sites in a multi-site install will work -- just put the themes you want to share in /home/username/mysite.org/sites/all/themes.
Call this one done
Thanks to you both.