Installing Single Drupal On Multiple (Sub) Domains

Base on wa2n.nrar.net

If you wanted to install Drupal on the same machine for the  different (sub)domains then it could be done by installing drupal only 1 core while the others will follow.

The first step is to install drupal as usual for the first site (eg a.domain.com). Then to install drupal into two (b.domain.com) can be done by:



  1. create a database for the site b
  2. create a directory a.domain.com under the directory  at sites, in the site a.domain.com
  3. copying files  default.settings.php to the directory b.domain.com and changed the ownership to be writable by apache
  4. create a directory of files under the directory b.domain.com and changed the mode
  5. match the apache vhost  with same configuration on a.domain.com except the name of the URL only 
Yup that's all modules, themes and libraries if desired customizations can be made b.domain.com directory in the directory.

Related Posts by Categories



0 comment:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More
 
Powered by Blogger