Creating Sub-sites in Drupal

Fred's picture

Synopsis:
Your main website Drupal installation is in /home/[user]/public_html) and you want to create www.mainwebsite.com/subsite

  1. ln -s /home/[user]/public_html /home/[user]/public_html/subsite
  2. mkdir /home/[user]/public_html/sites/mainwebsite.com.subsite
  3. copy a fresh, unmodified from original download settings.php to /home/[user]/public_html/sites/mainwebsite.com.subsite

Create a new database, have the connection information ready and browse to http://www.mainwebsite.com/subsite
Thanks to this reply I finally have my subsite running.