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
- Step 2: Add the New Store
- Step 3: Add a Default Store View
- Step 4: Setup the Store URL
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.
- Select the
Save Store
to complete.
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.
- Assign the
Save Store View
to save all settings.
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
, selectWeb
. - In the upper-left corner, choose the
Store View
to check the new store you added. - Hit
OK
to verify the scope switching.
- 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.
- Clear the Use Website checkbox, that is next to the
- Open the
Secure Base URLs
section below to set the store’s secure URL if needed. Save Config
to complete.
Related Post
Abandoned cart email.

Recent Tutorials

Magento 2 Admin Panel
6 Steps to Creating an Extension Package File in Magento
How to build landing pages in Magento store?
Comments for Setup Multiple Stores
Explore Our Products:
People also searched for
- magento 2 multistore
- magento 2 create store
- set default store view magento 2
- magento 2 multistore setup
- create multi store in magento 2
- magento 2 create new store
- magento 2 multi store setup
- magento 2 change default store view
- multi store in magento 2
- multistore magento 2
- create store view in magento 2
- magento 2 create store view
- in magento 2
- multiple store creation is not possible.
- magento 2 multi store subdomain
- magento multi store setup
- magento multi store
- magento 2 set default store
- magento 2 multiple stores
- magento 2 setup multiple stores
- magento 2 multiple stores different domains
- magento 2 set default store view
- magento 2 multi website multi domain
- magento 2 switch store programmatically
- magento multiple stores
- magento multi-store
- magento multi-shop
- magento multistore
- magento multiple stores different domains
- magento multi store demo
- magento multiple store
- magento default store
- 2.2.x, 2.3.x, 2.4.x
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!