How to Setup Multiple Stores in Magento 2

The Most Popular Extension Builder for Magento 2

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

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 easier adminstration.

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

Benefits of creating multiple stores in Magento 2?

With different goals in mind such as expanding your business or operating your business in different locations, you may want to create multiple stores. But multiple stores can bring you more amazing outcomes than that, such as:

  • Save money by using the same payment gateways
  • Get uniform support for all of your built stores from third-party extensions
  • Maintain a standard customer database that may be used across all stores.
  • Share the same content of Terms & conditions, privacy policy, and other materials for the pages.

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

4 Steps to 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, have their own subdomain, or have distinctly different domains? For each store, select one of the following options:

  • 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

In this step, you will fill required information of the new store in the ‘Store Information’ section.

  • 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

After adding the new store, now you will create the 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 the 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 the 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.

The bottom line

The need to set up multiple stores in Magento 2 has been increasing due to different business goals, and also because of the amazing benefits it can bring to online stores. If you also want to do it, start following this tutorial. Leave comments below to share your ideas and tell us about your concerns if any. See you in later posts!

Related Post

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