Multiple websites can be set up that use the same Magento installation. The websites can be set up to use the same domain, or different domains. If you want each store to have a dedicated checkout process under its own domain, each store must have a distinct IP address and separate security certificateInformation that is used by the SSL protocol to establish a secure connection..
On the Admin sidebar, tap Stores. Then under Settings, choose All Stores.
Tap Create Website . Then, do the following:
In the Name field, enter the domain of the new website. For example, “domain.com.”
Enter a Code that will be used on the server to point to the domain.
The code must begin with a lowercase (a-z) letter, and can include any combination of letters (a-z), numbers (0-9), and the underscore (_) symbol.
(Optional) Enter a Sort Order number to determine the sequence in which this site is listed with other sites. Enter a zero to make this site appear at the top of the list.
Set Default Store to the store that is to be used as the default for this website.
When complete, tap Save Website .
Follow the instructions to configure the store URLs.
A quick rating takes only 3 clicks. Add a comment to help us improve Magento even more.