nopAccelerate

Faster, scalable and reliable nopCommerce.

How to setup nopCommerce Multi-Store on Shared Hosting Environment

FacebooktwitterredditpinterestlinkedinmailFacebooktwitterredditpinterestlinkedinmail

Multi-store is the most awaited feature for nopCommerce using which you can host multiple e-commerce store front-end using single nopCommerce installation. Here is a detailed guide/tutorial which covers the step-by-step guide on How to setup and configure multiple e-commerce stores using nopCommerce multi-store features.

If you want to read a detailed review on nopCommerce Multi-Store and Multi-Vendor features, read our article nopCommerce 3.0  Multi-Store and Multi-Vendor Review.

Throughout the tutorial, we’re going to use shared hosting account offered by SmarterASP.net, which offers superior website hosting services for ASP.Net platform and specializes in offering affordable nopCommerce hosting. We’re thankful to the SmartASP.net for offering us a trial account, as well as their help and support during writing this tutorial. We’re using their Advance Plan for hosting multiple store-fronts using nopCommerce.

Requirements for nopCommerce Multi-Store

To start utilizing multi store features of nopCommerce, you will need:

How to setup and configure multiple e-commerce stores using nopCommerce multi-store features

  • Step 1: Configure Domain mapping for Multiple Store
  • Step 2: Install nopCommerce to your hosting account
  • Step 3: Configure Multiple Store in nopCommerce Administration Panel
  • Step 4: Testing nopCommerce Multiple Store features

Step 1: Configure Domain mapping for Multiple Store

We are using Shared Hosting Account offered by SmarterASP.net for this setup which offers a One-Click nopCommerce Installation on all of their hosting accounts.

If you’re new to SmarterASP.net, start with their 60 day Free Trial Windows Web Hosting Account today. Click here to Sign Up with SmarterASP.net.

Before proceeding further, make sure you have configured your domain name correctly to map to your shared web hosting account on SmarterASP.NET server.

The first step is to map your domain to your site created in SmarterASP.NET. Login to your account at SmarterASP.NET and go to Hosting Control Panel and then Hosting Manager > Website Domain Manager.

You will see your first site already created inside SmarterASP.NET Hosting Control Panel. Click your domain name in the box highlighted and click on Add.

If you are creating multiple-store using nopCommerce multi-store version, then enter the all of the domain names.

nopcommerce-multi-store-setup-shared-hosting-smarter-asp-map-domain

We are creating a multi-store nopCommerce website to be published on two sub-domains. So we created two entries here.

nopcommerce-multi-store-domain-mapping-on-shared-windows-hosting

Once you map your domain to your website application here, you need to point your domain to this application. There are three ways to point your domain name to correct website account.

  1. Point your domain’s DNS server to Name Servers suggested by SmarterASP.net. For more details on Name Server mapping refer to http://www.smarterasp.net/support/KB/c27/name-server-update-instructions.aspx
  2. Point your domain using DNS A record. An A record allows you to directly specify the IP address for your Web site (domain name). For example, you could specify that example.com should resolve to 192.0.2.3.
  3. Point your domain using DNS “CNAME” record. Creating a CNAME record allows you to point the Web hosting for a subdomain of your site to the same IP address used by a different server. For example, you could create a CNAME record saying that www.example.com should use the same IP address as web.me.com. This is useful if you’re using it the site on sub-domain of some existing site.

We have used CNAME method for pointing our sub-domain to the site we’re creating.

The choice of the above option may vary depending on requirement. Consult with your nopCommerce Solution Provider.

You can now proceed with installation of nopCommerce on your website hosting account.

Step 2: Install nopCommerce to your hosting account

SmarterASP.Net offers One Click Installer to install several ASP.Net applications including nopCommerce. We’re going to use the same to install nopCommerce.

Install nopCommerce using One Click Installer

Go to Hosting Control Panel > Once Click Installer and click on ASP.NET Applications. Find the nopCommerce from the list of ASP.Net Applications and click on Install Now.

nopcommerce-multi-store-

Now, confirm the installation after reviewing the hosting plan requirement by clicking on Next.

nopcommerce-multi-store-o

Next, is selecting the site where you want to install the nopCommerce application. Proceed with clicking on Next.

nopcommerce-multi-store-one-click-install-on-smarter-asp-confirm-site

Now, the installer will ask you for a Database password.

nopcommerce-multi-store-one-click-install-on-smarter-asp-installation-give-db-password

Enter a strong database password. If you cannot think of a strong password, you can use an Online Password Generator to generate secure random password. Once done, proceed to next step by clicking on Next.

You will be now offered with a final confirmation page with details of the site. Note down the details for your nopCommerce website, and click on Confirm & Install button.

nopcommerce-multi-store-one-click-install-on-smarter-asp-installation-final-confirmation

 

The installer will now install nopCommerce and make it ready for you to use. Once the process is completed, you will be offered with the details of the installed nopCommerce application.

Now, go to your nopCommerce Site URL. You will see home page of your new nopCommerce website.

nopcommerce-multi-store-one-click-install-on-smarter-asp-complete-access-site

 

The site will be installed with demo data offered as standard installation. Now let’s proceed to the next step of configuring multiple stores from nopCommerce administration panel.

Step 3: Configure Multiple Store in nopCommerce Administration Panel

Log into your nopCommerce Administration Panel by clicking on Login link in the header and enter your administrator username and password as offered by SmarterASP.net one click nopCommerce installer.

Once you’re logged in as an administrator you will see a link to Administration on the top of your page. Click on which will take you to the nopCommerce administration panel.

nopcommerce-multi-store-one-click-install-on-smarter-asp-complete-admin-link

Once you’re in nopCommerce administration panel, click on Stores in Configuration menu.

 nopcommerce-multi-store-one-click-install-on-smarter-asp-store-config

Before proceeding further with creating a new logical store in nopCommerce, we need to configure our first store correctly. Click on the Edit link to edit the store details.

nopcommerce-multi-store-o

Once you are on Edit Store Details page. Edit your store details.

nopcommerce-multi-store-one-click-install-on-smarter-asp-store-edit-default-store-details

Enter your Store URL and HOST Values. Do not forget to define correct HOST values. This is very important.

The comma separated list of possible HTTP_POST values (for example, “store1.com,www.store1.com” for the first store and “store2.com,www.store2.com” for the second store).

This property is required only when you have a multi-store solution to determine the current store. This field will allow nopCommerce to distinguish requests to distinct URLs and determine the current store. You can also see the current HTTP_POST value on the “System information” page in admin area.

If you are done configuring your store, Click on Save. And now click on Add New button to add new store in nopCommerce.

 nopcommerce-multi-store-one-click-install-on-smarter-asp-add-new-store

Note: The test website http://www.msdemostore1.nopaccelerate.com/ is a temporary test site and may not be accessible.

Now let’s proceed to configure another store. Click on Add New button and configure second store.

setup-installation-configuration-shared-hosting-configure-second-store

If you have configured domain mapping correctly as suggested in first step then you can now access the both the site on different domain.

Step 4: Testing nopCommerce Multiple Store features

The last step is to test your new multi-store nopCommerce websites. You can now map different theme to each site or map several other entity to the specific store very easily.

For testing, we are making a very simple separation between two sites by changing the Default title. For actual website you can actually customize it to a deeper level to reflect completely different personality to your site visitors.

To change the default title, go to Administration Panel > Configuration > Settings > General And Miscellaneous Settings.

nopcommerce-multi-store-configuration-open-general-setting

 

Now select the Default Store from Multi-store Configuration drop-down. Click on SEO settings tab and check the checkbox for Default Title and enter it “The Default Store” in value and click on Save. You may actually enter the actual title of the Store here.

 

nopcommerce-multi-store-setting-title

Once done, follow the same step for second store. So you have the different default title for both stores.

To test, open both the URL in different tabs of your browser and you’ll notice a different page title for both the site.

 

nopcommerce-multi-store-test-review

Conclusion

With the multi-store features offered by nopCommerce, you can actually create a completely distinguished multiple e-commerce sites using the same nopCommerce application and manage it as one store from its integrated and powerful administration panel.

With using nopCommerce as your e-commerce software and an affordable hosting from SmarterASP.Net, you can actually start your own e-commerce business within a few minutes with a multiple store front-end.

About nopAccelerate

nopAccelerate offers nopCommerce themes, plugins and custom development services. We also specialize in nopCommerce performance optimization services.

If you’re looking for a capable and reliable nopCommerce development company, then contact us today.

FacebooktwitterredditpinterestlinkedinmailFacebooktwitterredditpinterestlinkedinmail

Comments are closed.

Fill in form

and we will contact you

How can we help ?

Schedule a quick call, 15-minute meeting with one of our experts:

Thank You !

Our consultant will contact you in 24 hours.

Delivering generous mobile apps for Entrepreneurs, Startups & Businesses


Have a look at nopAccelerate Demo Store with 80,000+ products with nopAccelerate Solr and CDN Plugin.

download-trial Start Trial