How to Setup Multiple Websites in Magento 2

The Most Popular Extension Builder for Magento 2

With a big catalog of 234+ extensions for your online store

The website is the top-level container for sites, shipping methods, payment 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.

Related topics

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:

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.

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!

Explore how to set up Multiple Stores in Magento 2

Looking for
Customization & Development Services?

8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.

Get free consultant
development service

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