By rabidDog on
I was attempting to create a sub-domain Multisite setup, but my forum.sitename has just taken on the sitename's homepage. I created the symlink and a new database, but once I went to the url the sub-domain took on the main sites content. I must have missed something when setting this up. What I am really trying to have a new database for the forums section and use the user Database of the main site.
I have not figured out how to undo the sub-domain's use of the main sites database and need a nudge in the right direction.
Comments
_
Double check that the symlink is correctly pointing to the main site location and that the settings.php file is fresh (ie without credentials).
Multisite Setup pointers
I used the format below in "putty" which seems to work. The only problem was it didn't give me the option to add a database, I may have uploaded the wrong settings.php file. I tried to set up a couple more sub-domains as a test which did give me the install page, but could not get the install to recognize the Db (that's another issue that I need to take up with my hosting). I also think that if there is no settings.php it will still take on the main sites Db.
The only thing that I'm wondering now is how do I remove the sub-domains without messing up my main site. Is it as simple as deleting the folder, and if I wanted to use that sub-domain later, would it automatically take on the main site Db?
ln -s /home/username/domain.com/ /home/username/sub1.domain.com (there is a space between the / /) and ln -s /home/username/domain.com/ /home/username/sub2.domain.com .
Multisite Setup pointers
Not sure why I can't get it to work the regular way, but I edited the settings.php to point to the database. I then ran the http://www.sitename.com/install.php and was able to complete the site setup. Now, I just need to figure out how to share the user database across all sub-domains, or just certain users.
thanks for giving me the direction to start