How to Setup Multiple Websites in Magento 2

Drive 20-40% of your revenue with
email, SMS marketing
avada email marketing

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 the cart, shipping methods, and so on, 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.

Related topics

To setup Multiple Websites in Magento 2

1. Add a New Website

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

How to Setup Multiple Websites Magento 2 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.

Increase sales,
not your workload

Simple, powerful tools to grow your business. Easy to use, quick to master and all at an affordable price.

Get Started
avada marketing automation

Explore Our Products:

People also searched for


Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

go up