1. Home
  2. Computing & Technology
  3. Web Design / HTML

How To How to Set Up Multiple Sites to Use Drupal CMS

By Jennifer Kyrnin, About.com

Drupal is a powerful open source content management system that you can use to manage multiple domains off one Web server. These instructions take you through all the steps to set up as many domains as you need in your Drupal setup.

Difficulty: Average
Time Required: 10 minutes

Here's How:

  1. Follow the instructions to install Drupal on your Web server. Make sure to choose a "multi-domain" setup during the installation process and set up database prefixes.

  2. In the Drupal directory, there is a "sites" folder. In that folder, create a new folder named the same as your second domain. Follow the following structure:

    sites/example.com
    sites/example.com.directory1
    sites/subdomain.example.com

    "example.com" is your domain and Drupal will administer it, plus "example.com/directory" and "subdomain.example.com".

  3. Copy the settings.php file from the sites/default directory into each domain directory you want Drupal to administer. Then edit that file in each sites/domain directory so that it has the correct database information in it.

    In most cases, all you'll need to do is set up a unique prefix for your domain.

  4. If it's not already, point your second domain to the Drupal directory on your server.

  5. Go to the install.php page on your second domain and follow the instructions to install your domain.

More Web Design / HTML How To's

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. Web Server Management
  5. Content Management
  6. CMS Tools
  7. Drupal
  8. How to Set Up Multiple Sites to Use Drupal CMS

©2008 About.com, a part of The New York Times Company.

All rights reserved.