Community Documentation

Multisite Manager module 5.x, 6.x

Last updated March 7, 2013. Created by schuyler1d on April 8, 2009.
Edited by 2020media, jhr, ethanw, Designers.pro. Log in to edit this page.

The Multisite Manager contributed module allows creation of new Drupal sites from a central Drupal site without the creator having access to database info. The new site is installed either in the same database with a different prefix or if the drupal db_user has access to create a database and grant privileges, then possibly there.

Get started by reading the INSTALL.txt documentation.

More help on some gotchas exists below.

File names
In a situation where you have an existing file for a site http://www.mysite.com and you want to multisite http://www.myothersite.com into it you need to make a new directory to the /sites directory you will find within the mysite file system.
This directory should be called /sites/myothersite.com.
When you set up a new Drupal site you are asked for the database name, username, password and the prefix of files relevant to the site. This information has to be entered into Database Manager in http://www.mysite.com/admin/settings/multisite_manager and will generate a script
This script - which currently does not include the database password and omits the initial <?php - should be copied into a file called settings.php and pasted into the directory you set up above.
What Happens Next
Log into http://www.myothersite.com normally and the normal Drupal set up screens will appear.
Complete this and then create the new site as if it were free standing.

Comments

Hey, this is great to know about!

Thanks for the post. I've been doing this the manual way, and this Multi-site manager module really makes it quicker!

hi..
i am planning to implement multi site.. but i am getting this error.

ERROR: shortname must be in the link template localhostXXdrupal-6.20/site/tn

how to solve this prob.please post proper documentation/steps for this multi site manager module..
thanks

avkr

I would ask for support in

I would ask for support in the Issues for Multisite Manager forum.

i am working on multisite manager module.but i struck some where in this module.
if u did this module successfully ,Please send me the proper documentation ,how to install this module.

thanks and regards
vamsi

avkr

Drupal Remote Dashboard

Another useful module is the Drupal Remote Dashboard (DRD) (Drupal 7) which lets you manage several Drupal 6 and Drupal 7 installations, including multi-site, for which a corresponding DRD server module is required. The module lets you (either per domain, or in batch mode):

  • Get status information for each domain
  • Flush Drupal cache on each domain
  • Run cron on each domain
  • Run update.php on each domain
  • Toggle maintenance mode on each domain

Page status

About this page

Drupal version
Drupal 5.x, Drupal 6.x
Audience
Site administrators
Keywords
Multisite
Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here