Hello I'm still pretty new with Drupal. I have been maintaining one Drupal site and I've noticed the path '/public_html/sites/all'. It suggests to me you can run several websites that shave this folder (I'm not sure if that's true).
If it is true I am wondering what the best way to run several sites off the same Drupal installation (with separate databases).
Currently my Drupal site is uploaded into /public_html. I have recently added another domain and by default my web-host creates a new folder at /public_html/NEWDOMAIN.COM.
I am wondering if this setup is correct? If it is correct it means I'll have to put a new Drupal installation at /public_html/NEWDOMAIN.COM and have to upload all the modules once again....
Comments
For a drupal multisite
For a drupal multisite install, you would need to have you subsites in the /sites folder as follows
/sites/default
/sites/subdomain.domain.com
/sites/anothersubdomain.domain.com
(make sure the each folder here has a "files" folder and default.settings.php in it)
This way when you point your browser to domain.com it'll go to the default website which u can set up it you havent. then subdomain.domain.com will go to another drupal which you can then install again. (you can use same db here also if you want to)
About modules, all your modules shud go in /sites/all/modules and all themes in /sites/all/themes
This way they'll be availble on all three sites.
If you need a forth site, just create another directory /sites/subdomain3.domain.com