Adding Websites

Multiple websites can be set up from a single Adobe Commerce or Magento Open Source installation with the same domain or different domains. By default, stores that are under the same website have the same IP address and domain, use the same security certificate, and share a single checkout process. 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 certificate.

Multi-site installations of Adobe Commerce or Magento Open Source must be configured from the Admin and also from the command line of the server. The Commerce developer documentation provides detailed instructions for configuring the server environment.

Scope - websites

Step 1: Create a new website

  1. On the Admin sidebar, go to Stores > Settings > All Stores.

  2. In the upper-right corner, click Create Website.

  3. Set the Web Site Information options:

    Create website - options

    • Name — Enter the domain of the new website. For example,

    • Code — 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.

    • Sort Order — (Optional) Enter a 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.

    • Default Store — If you have multiple stores, set to the store to use as the default for this website.

  4. Click Save Web Site.

  5. Set up each store and store view that is needed for the new website.

Step 2: Configure the store URL

Follow the instructions to configure the store URLs.

Step 3: Configure the server

To configure your server to support multiple websites, see Multiple websites or stores in the developer documentation.

For help configuring your web server, see the following tutorials:

For Adobe Commerce on cloud infrastructure, see Set up multiple websites or stores.