Guide to Config Drupal Multi-Sites Feature
This article will discuss about how to configure Drupal to make it support for multiple domain.
Drupal is a very powerful open source content management system. And one of the most attractive features from Drupal is that it will allow you to install one single Drupal code base which can serve for multiple web sites, each with its own individual configuration.
But unfortunately, the guide from Drupal office site on how to configure this feature is not clear enough, and the beginner might be lost during it. In below, we will provide you with the step by step guide to set it up:
Before we start, you should have successfully install one Drupal instance, if you still haven't, please follow the installation guide from Drupal official site to get it setup. Here, we will focus on how to add another domain to one Drupal installation.
But unfortunately, the guide from Drupal office site on how to configure this feature is not clear enough, and the beginner might be lost during it. In below, we will provide you with the step by step guide to set it up:
Before we start, you should have successfully install one Drupal instance, if you still haven't, please follow the installation guide from Drupal official site to get it setup. Here, we will focus on how to add another domain to one Drupal installation.
- Create a new database and database users for the second domain (lets call it as "domain2.com")
- Grant full privileges to the database to the user created in the step 1)
- Create a sub-directory in the "/sites" directory call "domain2.com", it will look like /sites/domain2.com/. Please don't include 'www' in the sub-directory.
- Copy the /sites/default/default.settings.php to the new directory /sites/domain2.com/settings.php (don't forget to remove the 'default.' from the file name)
- Setup the add-on domain for "domain2.com" in your web hosting account. For a shared web hosting environment, domain2.com will point to a directory like "/home/username/public_html/domain2".
- Delete directory "/home/username/public_html/domain2"
- Create a symlink to the main site as "/home/username/public_html/domain2", the same as what in above.
- Launch the domain2 in browser, Drupal Installer will be launched, go through the installation process according to on-screen instructions. You will get new web site setup on the same Drupal code base.

Use the feedback form below to submit your comments.

Use the form below to email this article to your friends.

- Drupal - Rich Content Management System (CMS)
- Content Management System - CMS
- Joomla - The World Class Content Management System
- Content Management Systems - Choosing the Right One for You
- A Content Management Tool Provides the 5 Essentials of Communication
- "Web Content Management System fr Window": Search Engine Typos
- Content Management Systems and building your eBiz
- The Future of Content Management Systems
- CMS - A Breakthrough in Development of Dynamic Websites
- Paperless Technology: Is Your Business Ready?
- The Basics of CMS
- Factors to Consider Before Choosing a CMS
- High-tech Companies Are Not The Only Ones Moving to New Forms of Content Delivery
- Joomla Development
- Ruby on Rails - Open Source Application
- Content Management System Reviews



