How to setup Drupal 8 Multisite on nginx webserver with different domain.
How to setup Drupal 8 Multi site on nginx web server with different domain. In this example we are going to use three different domain for our drupal-8 multi site ex: drupal-main.com, drupal-first.com, drupal-second.com Here drupal-main.com will be main site pointing to our drupal-8 installation, while two others will be pointing directory site1 and site2 respectively. Directory structure will be as follows: var/www/drupal-main.com/public - will contain drupal-8 installation var/www/drupal-main.com/public/sites/site1 var/www/drupal-main.com/public/sites/site2 Create above directory structure on your server. Now create a copy of sites/default/default.settings.php to sites/default/settings.php and also make a copy of example.sites.php to sites.php available in sites folder and put the following site alias at the end of file: $sites['drupal-first.com'] = 'site1'; $sites['drupal-second.com'] = 'site2'; After that also m...
Comments
Post a Comment
There is comment posted on your blog, chandu7929@blogpost.com