Looking for the v10 manual? Visit our new user's guide!
Search Descriptions Version
This article applies to: MultiStore

Adding a Store (MoreStore)

This document explains the basic steps involved in creating additional stores (called "MoreStore") in the MultiStore product after installing the default store. The base installation of the software is exactly the same as in previous versions. Please see the guides here for detailed installation instructions.

NOTE: These instructions assume you have already obtained the necessary domain name you are using for the additional store and have pointed it to the proper IP address. Production URLs should not be pointed to the site until they are fully tested and ready to 'Go live'. Staging URLs are typically subdomains created as a DNS A record and pointed to the proper site IP address. Please consult your site host for information on the proper IP address and IIS setup as needed.

How does the software know what to do with the URL requests?
  1. You setup DNS A records (typically) for the additional URLs, pointed to the site IP addresse(s), in your domain management
  2. When a request comes into IIS for a URL, it associates it to the site and hands the request over to the software
  3. The software attempts to identify the request based on the URLs entered in the Domains tab per store ID
  4. If the software finds a match, it displays the appropriate skin and settings for that store ID. If it does not find a match, it displays the default store in the domains tab.

Create the stores in IIS

1 – First, create the additional sites you’re going to be using in IIS. This can be done several ways. While the example below shows separate websites for each, the storefronts can all be applications under one website, separate sites, or even just domain aliases of the first site you set up. The important thing to note here is: each site/application should use the same home directory – wherever you installed the software. They all run off of the same copy of the files and the same database.

NOTE: If you only have a single IP to use for testing sites, you can ‘fake’ additional websites by modifying the host file. See this page for directions on how to do that.

NOTE: This step may be skipped depending on the site host. Please check with your site host concerning proper IIS setup as needed.

Additional Considerations: The MultiStore installation should only use a single application pool for all the "stores". Using separate AppPools is not the best way to do this, especially for a large amount of stores, since it will create a new worker process for each store. That means that the same code is loaded into memory multiple times for each store, rather than just loading the code once, regardless of which store is currently being accessed.

We recommend setting up a single website in IIS with a single application pool to use for all the stores. The stores should all share the same IP address and be secured with a MultiDomain (UCC or wildcard) SSL certificate to cover all the store domains.

Create the stores in the admin site

1 – Next, create the additional stores within the AspDotNetStorefront admin site. To do this, go to Configuration -> Store Maintenance in the admin site:

2 – On that page, click on the ‘Domains’ tab, then click on the name of the preloaded store (Default Store) and edit the values there to match your first store. NOTE: The domains entered here should not contain the subfolder names (if any), just the domain name. Also, the Staging and Development fields are optional. Once the correct information has been entered, click Save.

3 – On the Domains tab, click ‘Add New Store’ and fill in the information for your second store.

NOTE:Versions 9.3 and above ship with 2 skins that can be selected from this dropdown 'out of the box'. One of the skins (SkinID 2 by default) is used for the mobile functionality, and should not be chosen for a site's main skin. Check with your developer or designer to determine which skin to use!

4 – Click Save, and repeat for as many stores as you want to add initially.

5 – Finally, click the ‘Reset Cache’ link at the upper right of the storefront admin site.

7 – Follow the directions here to license the stores.

NOTE: There are three URL slots in the Domains tab for each store (Production, Staging, Development), but the software treats them the same when comparing incoming URL requests. BE SURE that you do not duplicate a URL between each store ID, or the wrong skin and settings may be used as the software will look for a matching URL request in each field beginning with store ID 1.