By gdev on
Hi ... I can't seem to find out having drupal run multiple sites ... each one of the sites should have a different datbase....
Also a different question : I am planning on running multiple sites on my hostgator account, wich allows unlimited sites. lets say that I would like to have 1 drupal installation but that different sites are reachable.... is this possible ?
Gdev
Comments
Sure
It's easier that way than sharing databases.
Just connect to a different database in each sites settings.php file.
--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
seconded
I've done it with multiple databases since Drupal acquired the multisite capability and only recently noticed that one can use a single database and share tables between sites.
Allright ...
But how do I do this ? There is a default directory with the settings.php ... so I guess I will have to make some more directories here ... no ?
Gdev
Yep
Each site gets a directory. It's all explained in the INSTALL.txt, and the comments in settings.php and in the handbook. But basically the incoming URL gets matched against all the subdirectory names in /sites to figure out which one to use.
--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ