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.
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:
Stores > Settings > All Stores.
Create Store, then follow the below
Websitethat is the parent of the new store. If there is only one website, use the default “Main Website”.
Namefor the new store, just for the internal reference.
Root Categoryfield, 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.
Save Storeto complete.
Create Store View, you can:
Storeto the new store you’ve just created.
Namefor the store view.
Codefor the store view with lower characters.
Sort Orderthat is position of the new store in the list.
Save Store Viewto save all settings.
In this step, we will configure Store URL.
Stores > Settings > Configuration.
Store Viewto check the new store you added.
OKto verify the scope switching.
Base URLfor the store.
Secure Base URLssection below to set the store’s secure URL if needed.
Save Configto complete.
It comes to the end of the tutorial: How to Setup Multiple Stores in Magento 2.
Posted by Linda in Store Websites. June 28, 2018