

Suppose, you have related offers that you need to subdivide to focus on several different levels of target audiences - e.g., small business consumers, mid-level businesses, and exclusive large clients. Tackling different TA echelons at once.For instance, you run a B2B with a wide range of services that are all similar at the core, yet have extra differences that need to be highlighted separately.

DRUPAL 9 MULTISITE HOW TO
So let’s figure out how to help your B2B to be (pun intended) better, faster, and ultimately more available. Government, B2B, educational, and many other resources alike increasingly prefer this “business workaround” over other solutions.

And why bother anyway when there is a convenient alternative? This is where Drupal steps in, offering a multisite format to save costs without sacrificing the hype of all-around online presence. On the other hand, making multiple full-on dedicated websites can be extremely expensive. Managing a large-scale enterprise with themed branches, one online resource may not be enough to fully represent the whole range of business capabilities on the web. Remember we are doing everything here inside a docker container so if you want to check your databases for example, you will need to use lando mysql instead of just mysql and also the credentials will be the one which are created by lando rather than what you have on your system.When it comes to the introduction of a business multisite, Drupal stands out with its cost- and time-effectiveness, great performance powers, and overall practicality. In case you want to add more sites just repeat 2-6 and then 8 for your new site.
DRUPAL 9 MULTISITE INSTALL
Note: Install site using browser instead of drush because drush will ask to drop and recreate the database for each site. Go the URL for subsite, repeat step7, except this time also add the value in prefix field:

Since this is default site we will leave the prefix empty. Tip: you can quickly find info about configuration using lando info
DRUPAL 9 MULTISITE PASSWORD
Go to the respective URL on browser and install the default site first.īy default lando creates database with name drupal9 and username as password as drupal9 too and host as database so use these while installing the site: Run lando rebuildso it creates urls for our subsites.ħ. Copy settings.php to your default and subsites directories.Ħ. Enter fullscreen mode Exit fullscreen modeĥ.
