An example of Drupal being used as a multisite installation. The initial setup was fairly time consuming and difficult really to find instruction on how to set it all up. However I managed it with quite a lot of help, and the result is a multisite drupal setup for Fsh Publishing. Set up for 5 websites, 4 of which will be used now (not all live yet), and then 3 more which will be added over new year, giving a total of 7 live sites eventually.


BackAtBasecamp


BackAtBasecamp is an online magazine for participants of Hikes, Treks, and Expeditions. With equipment reviews, charity trek information, and trekker blogs.
To launch January 2007


NewlyWeds-UK

NewlyWeds-UK is an online magazine for Bride and Grooms to be, with articles, stories, and Bride Blogs, information on venues, caterers, clothing, wedding jewellery, music etc.
To launch January 2007


FirstBorn-UK


FirstBorn-UK is an online magazine for Mums and Dads to be, with articles, stories, and Baby Blogs, information on conception, pregnancy, book reviews, etc.
To launch Spring/Summer 2007


FirstTimeBuyer-UK


FirstTimeBuyer-UK is an online magazine for people looking to get onto the housing ladder, to buy their first house, and includes information, articles, and advice for renting houses, buying houses, and selling houses.
To launch Autumn/Winter 2007

Comments

stuartgoff’s picture

So what content/modules are you sharing? Are you using multiple DBs? What was/is your multisite strategy? Come on, give us the goods!

Stuart

uksigma’s picture

Database
All sharing one database using different prefixes for each site.

Modules
All of the modules are shared by putting them into a single module folder in root/drupal/ one level above the drupal install at root/drupal/drupal-4.7.X/ and then adding symbolic links from the root/drupal/drupal-4.7.X/modules folder. This means each site will all see the same module list, although you can choose which modules are enabled independently on each site

Sites
As with the modules above, I have moved the sites folder out to root/drupal/ and then inserted a symbolic link to this from root/drupal/drupal-4.7.x/ this should help for upgrade purposes. Within the sites folder, I have duplicated the default folder, renamed this to the name of the individual sites, e.g. default, backatbasecamp.com, newlyweds-uk.com etc. the settings.php file is edited to reflect the database location and the prefix for each site

Content
Content is not shared

References
http://drupal.org/node/20663 4.6 Multi-Site from single code base
http://drupal.org/node/69924 Multi-Site Configuration Using Apache Virtual Hosts, One Database, and Table Prefixes (Success)