![]() ![]() They could even be hosted on separate servers. Each website has its own database and content and in essence, all websites are completely separate. #Drupal website code#In the multisite approach, described above (and in this article), we are using the single code base and creating separate websites on it. Drupal multisite vs drupal multi-domain (disambiguation)īefore we discuss Drupal multisite any further, we first have to clearly differentiate between two different approaches in which a Drupal installation can serve multiple websites: a Drupal multisite compared to Drupal multidomain. This is a fairly simple concept, which gives us massive power to build a robust platform which can successfully serve even hundreds of websites from one codebase. ![]() When a request comes to the server, Drupal can map the request depending on which domain it comes from a particular folder and load the correct database and configuration (enabled modules, themes, content etc) serving us with a completely separate website.Īdditionally, we can control which website can use which modules and themes placing them in correct folders accessible only for particular websites.įor a very in-depth article on all the technicalities please refer to a blog post about how drupal works under the hood. It also contains its own binary files (images, uploads etc). For example:Įach of the website folders contains its own settings.php file and connects to a separate database. What is a Drupal multisite and how it worksĪ Drupal multisite installation is an installation which supports more than one Drupal website on a single codebase.Ī multisite is achieved by creating a separate folder for each website in the /sites/ folder of the Drupal system. ![]() In this article, I will discuss Drupal multisite in detail to give you an in-depth, complete understanding of how multisite works, why it is used, when it makes sense and when to avoid it. The ability to use one Drupal to run multiple websites is great, but on the other hand, requires some considerations. Such a Drupal installation is called a multisite. Drupal can be configured to serve multiple websites from one codebase. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |