Create Multiple Websites, Stores And Store Views In Admin Magento 2

This tutorial describes how to create multiple websites, stores and store views in the admin of Magento 2.

A.) Create websites:

create_websites
  1. To create websites go to Stores > Settings > All Stores.
  2. From the store, page click on Create website.
    • Name: Enter the name which identifies the websites.
    • Code: Add a unique code in the field. E.g. if you have Dutch store you can enter dutch.
    • Sort Order: Enter numerical sort order. It is an optional field.
  3. Click on Save Web Site button. If you want to create more websites follow the same steps.

B.)  Create Stores:

create_stores
  1. To create stores go to Stores > Settings > All Stores.
  2. From the store page click on Create Store.
    • Web site:  Select  the website with which the store is associate     
    • Name: Enter the name which identifies the store.
    • Code: Add a unique code in the field which identify store.
    • Root Category: Select the root category for this store.
  3. Click on Save Store button. If you want to create more stores follow the same steps.

C.)  Create Store View:

create_store_view
  1. To create stores go to Stores > Settings > All Stores.
  2. From the store page click on Create Store View.
    • Store: Select the store with which the store view is associate.     
    • Name: Enter the name which identifies the store view.
    • Code: Add a unique code in the field which identifies store view.
    • Status: Select Enable.
    • Sort Order: Enter numerical sort order. It is an optional field.
  3. Click on Save Store View button. If you want to create more store views follow the same steps.

After the creation flush cache from admin or by using CLI command

php bin/magento cache:flush or php bin/magento c:f