Installing Drupal for multiple sites

Using CMS for building your website is gtting much popularity now-a-days, all webmaster try to use them for creating websites, using CMS you can easily manage your website, can easily add contents to your site etc…. there are many CMS available on the internet one of them is Drupal one of the most important features from Drupal is that it allows you to install one single Drupal code base which can be used for multiple websites each domain with its own individual durpal configuration.

drupal logo Installing Drupal for multiple sites If you are looking for having such utility for all of your domains then just follow following steps :
First of all you should have to install Drupal CMS for any of your domain, once you are ready with it you can easily add other domains to this Drupal installation.
Consider following steps for achieving this :
•    You need to create a new database and database users for the second domain ( eg “NEWdomain.com”)

•    You have to grant full privileges to the database to the user created

•    Now you have to create a sub-directory in the “/sites” directory call “NEWdomain.com”, it will look like /sites/NEWdomain.com/. Make sure you don’t include ‘www’ in the sub-directory.

•    Now you need to copy the /sites/default/default.settings.php to the new directory /sites/NEWdomain.com/settings.php

•    You will have to setup the add-on domain for “NEWdomain.com” in your web hosting account. If you are on shared web hosting environment, NEWdomain.com will point to a directory like “/home/username/public_html/NEWdomain”.

•    Now you will have to remove directory “/home/username/public_html/NEWdomain”

•    Just create a symlink to the main site as “/home/username/public_html/NEWdomain”

•    You need to launch the NEWdomain in your webbrowser, that’s all Drupal Installer will be launched, you need to go through the installation process, you will get all instructions for the installation process as you proceed. That’s all you have a new web site having same Drupal code base which you have used for your other website.

468 x 60 a Installing Drupal for multiple sites

Posted under Linux cPanel Hosting, Reseller Hosting, cpanel Hosting, cpanel hosting tips

This post was written by MATIC Actuators on September 24, 2008

Tags: , , ,

Comments are closed.

More Blog Post