Hi...
I have installed drupal 6.8 and its working fine with no problems at all. However, now I am into a scenario where I want to host multiple sites with different databases, different content but the same codebase.
I know i can do it by juts extracting a drupal tar file and re-installing stuff again..But this would be my worst case situation. I want to do it using the multiple site flexibility.
I am a newbie when it comes to setting up virtual hosts. I am using openSUSE 11.1
thanks in advance! Radhika
On Tue, Jan 6, 2009 at 7:40 AM, rsw-ml@silverarc.biz wrote:
Hi...
I have installed drupal 6.8 and its working fine with no problems at all. However, now I am into a scenario where I want to host multiple sites with different databases, different content but the same codebase.
Just create a directory sites/<YOUR-HOST-NAME>/...
With the same contnts as the default directory - just pointing ot a different database.
(and read thingas about multi-site setup in the online docs).
Henning
or multisite on windows: http://drupal.org/node/32715
Read 'settings.php', in the sites/default folder, to understand how drupal searches it's folder to locate the file storing a particular domain's settings.php.
Drupal by default reads the settings.php file in the default folder. You can
configure the main portal settings in the default directory. The subdomains a.com and b.com can be configured by creating two new folders under the sites directory called yourdomain.a.com and yourdomain.b.com. Each of these
folders should have it's own settings.php. In the settings.php of each site you have to name the database to be used.
If you want some settings to be shared between the sites you could go in for
a shared database configuration. http://drupal.org/node/43816 Multi-site installation and set-up
refer: http://drupal.org/node/147828 for Multi-Site, Single Codebase, Shared Datbase, Shared Sign-on 5.x
Thanks Shyamala Netlink Technologies http://shyamala-drupal.blogspot.com/
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of rsw-ml@silverarc.biz Sent: Tuesday, January 06, 2009 12:11 PM To: support@drupal.org Subject: [support] Multiple sites with different database and differentcontents
Hi...
I have installed drupal 6.8 and its working fine with no problems at all. However, now I am into a scenario where I want to host multiple sites with different databases, different content but the same codebase.
I know i can do it by juts extracting a drupal tar file and re-installing stuff again..But this would be my worst case situation. I want to do it using the multiple site flexibility.
I am a newbie when it comes to setting up virtual hosts. I am using openSUSE 11.1
thanks in advance! Radhika