The website is the top-level container for sites,  shipping methodspayment methods, and so on. If you want to create completely separate sites that do not share that information, it is obligatory to create separate websites that will use the same domain or different domains. Thus, today, I’m going to instruct you how to set up multiple websites for Magento 2 stores properly.

2 Steps to setup Multiple Websites in Magento 2

1. Add a New Website

First, log in to the admin backend to create a new website:

  • On the Admin Panel, Stores > Settings > All Stores.
  • Click on Create Website, then do the following:
Website Information
  • 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.
  • Click Save Website to complete.
  • Also enable to setup the store and the  store view for this website if you need.

2. Setup the Store URL

Get the guides to setup the Store URLs here.

Congratulations! Now you have completed multiple website setup in Magento 2. Please leave comments if you have anything to share or further support. We are more than happy to help!