How to create multiple sites in my Drupal application?

Drupal gives you the option to have several different sites under one Drupal installation using different databases (or database prefixes) for each site.

Let's say that you have two domains - and; is your main domain and is a secondary domain. To create two different Drupal sites for and, follow the steps below:

  • Install Drupal at
  • Create a new MySQL database and user. They will be used for the new site
  • Create a directory sites/ inside your main Drupal folder (public_html most probably).
  • Copy sites/default/default.settings.php to sites/
  • Rename sites/ to sites/domain2/settings.php
  • Park to
  • Go to and complete a new installation for with the MySQL details that you've already created.

That's it! If you want, you can create more Drupal multiple sites following the steps above.

You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!