[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

Best Practice for Creating Additional Sites in Drupal?

I've installed a local WAMP stack for Drupal test and development.

My default site is "Site-A".

Going foward, I want to develop new sites, no relation to each other.

Do I simply create a directory "Site-B" in the Sites folder?

Then access like  http://localhost/sites/Site-B   ?

What's the best practice for creating several sites in the same Drupal installation ?
2 Solutions
Aaron FeledyDrupal Developer and ConsultantCommented:
Take a look at example.sites.php located in the sites folder. It explains how to set up the multi site aliasing feature using a sites.php file. After you set it up, you'll be able to do something like http://localhost/Site-B to access your site.
That really depends on what are the inter relations between these sites:
Watch this video for a better understanding of the different approaches.
Here you'll find a lot of information about multisites.
Watch Emma Jane Hogbin's video for a deeper dive..

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now