How to Setup Multiple Websites in Magento 2

0
134
views
Advertisement

The website is the top-level container for sites, shipping methods, payment methods, and so on. And if you want to create completely separate sites that do not share cart, shipping methods, and so on, it is obligatory to create separate websites that will use the same domain or different domain. So, today, I will show you how to setup multiple websites for Magento 2 in the right way.

Setup Multiple Websites

  • Step 1: Add a New Website
  • Step 2: Setup the Store URL

Step 1: Add a New Website

  • On the Admin Panel, Stores > Settings > All Stores.
  • Click on Create Website, then do the following:

  • Set Name for the website by entering the domain of the new website.
  • Type Code for the website that supports lower-case letter, and any combination of letters (a-z), numbers (0-9), and the hyphen (-) character.
  • Specify the Sort Order that is position of the new website in the list if necessary.
  • Mark the Set as Default checkbox if you want to use it as the default website.
  • Save Website to complete.
  • Also enable to setup the store and the store view for this website if you need.

Step 2: Setup the Store URL

Get the guides to setup the Store URLs here.

Ref: For more information please refer Magento 2 User Guide