How to Setup Multiple Stores in Magento 2

How to Setup Multiple Stores in Magento 2

Setting up Multiple Stores Magento 2 is one of the variable functionalities Magento 2 brings to store owners. This feature allows you to create stores as many as you need only in the single configuration. All stores share the same domain, be set up as subdomains of the same domain, or have entirely different domain, yet possibly share the same backend for the easier adminstration.

Learn more: Setup automatic change store view used Magento 2 Store Switcher

Therefore, you can follow the instruction below to apply this awesome benefits into your store. Addtionally, you can add multiple websites for each store you want to configure.

Setup Multiple Stores in Magento 2

Step 1: Select the Store Domain

The very first step is to determine how you want to place the store. Will the stores share the same domain? or will they have their own subdomain, or will they have distinctly different domains? For each store, do one of the following:

  • To place the store one level below the primary domain, you don’t have to do anything.
  • Set up a subdomain of your primary domain.
  • Set up a different primary domain.

Step 2: Add the New Store

  • On the Admin Panel, Stores > Settings > All Stores.
  • Click on Create Store, then follow the below
    • Select the Website that is the parent of the new store. If there is only one website, use the default “Main Website”.
    • Fill the Name for the new store, just for the internal reference.
    • In the Root Category field, you will set the root category for the main menu of the new store. The created root categories are shown in the dropdown list, select one for the store.

How to Setup Multiple Stores Magento 2 Information

  • Save Store to complete.

How to Setup Multiple Stores New Stores

Step 3: Add a Default Store View

  • Click on Create Store View, you can:
    • Assign the Store to the new store you’ve just created.
    • Set the Name for the store view.
    • Type the Code for the store view with lower characters.
    • Choose “Enabled” for the Status.
    • Specify the Sort Order that is position of the new store in the list.
  • Save Store View to save all settings.

How to Setup Multiple Stores Magento 2 View Information

Step 4: Setup the Store URL

In this step, we will configure Store URL.

  • On the Admin Panel, go Stores > Settings > Configuration.
  • On the left panel, under General, select Web.
  • In the upper-left corner, choose the Store View to check the new store you added.
  • Hit OK to verify the scope switching.

How to Setup Multiple Stores Magento 2 Choose New Store View

  • Open the Base URLs section,
    • Clear the Use Website checkbox, that is next to the Base URL field.
    • Change the Base URL for the store.

How to Setup Multiple Stores Base URLs

  • Open the Secure Base URLs section below to set the store’s secure URL if needed.
  • Save Config to complete.

Related Post

Comments for Setup Multiple Stores

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