Sunday, July 22, 2012

Deploying nopCommerce on Shared Hosting

In this blog post, i will be showing how to step by step deploy nopCommerce on Shared Hosting.  I will be using Arvixe web hosting as my Shared Hosting but you may use Godaddy, etc.

1) Domain Pointing to Third Party Hosting
If you have set your "Nameserver" pointing to your third party hosting, please do so now.
Setting up "NameServer" can take upto few mins to few hours so do it while you are trying to prepare for next few steps.
  • Let say you purchase your domain on "Godaddy.com", in order for godaddy to point to third party hosting you need to set up nameserver.
  • Login into your "Godaddy.com" account and goto "Domain Details" page of your domain.
  • Inside "Domain Details" find "NameServers" and click on link "Set Nameservers".
  • On Nameservers popup window, choose the option "I have specific nameservers for my domains."
  • Now type Nameservers details you received from your hosting company.  If you do not have call up your hosting company and find those details.  You need to set "Nameserver1" and "Nameserver2" details and other if you have any more servers.
  • Click "OK" button to save Nameservers changes.
  • Now This may take few minutes to few hours in order to have changes in effect.

2) Creating Domain and Website inside third party hosting.
  • Logon to your third party hosting control panel.  (Incase of Arvixe, you need to type "cp.websitename.com" Enter your username and password.)
  • Create a Domain inside control panel.  (Click on "Domains" and click button "Add Domain" to add new domain.  You need to typein your domain name and click "Add")
  • Create a website inside control panel.  (Click on "Websites" and click button "Add Website" to add new website.)
  • Note: Below points are Arvixe Hosting Specific steps
  • Ones website is created click on website so that "Web site properties" screen will appear.
  • Inside website properties, click on "Extension" tab.
  • Inside "Extension" tab screen, choose Asp.net version as "4.0 (Integrated)" and click on "Update" button.  Since our website will be on Asp.net MVC with 4.0 code we have made this changes.

3) Publishing Website and doing Installation for first time on Arvixe.
  • Open nopCommerce Project in VS.Net 2010
  • Compile the project in Release Mode.
  • Publish website.  From menu, Build > Publish Nop.Web
    • Save publish profile as shown in figure below and click on "Publish" button.  After few mins. website will be published and create necessary files in folder you choose to publish.


  • Open FTP Client tool FileZilla  (If you do not have installed FileZilla FTP Software or any other FTP Client Software, please do so before proceeding any further.)


  • Now Copy files you just published for "nopCommerce" to Remote Site.  File upload will take some time.

  • Since we are doing it for first time we have publish all files, but if you are doing it after your first installation remember to remove your configuration files.
    • Example:  do not publish your connection string file which is in nopCommerce\Presentation\Nop.Web\App_Data\Settings.txt

  • Now type the URL of your website and "nopCommerce" is smart enough to help you through your first time installation, even in third party hosting.


After few minutes you are ready to play with your e-Commerce website.

5 comments:

  1. Your content is just so wonderful and amazing! Hey, I clicked to your blog by error when I was browsing google for Nopcommerce Hosting topic. However, I must say your blog is crazy helpful. I found another website which provides free Nopcommerce Hosting, http://www.myasp.net/.

    ReplyDelete
  2. Its so highly informative things are posted here. These things are the fresh and having good information are posted here, and also am seeking for this kind of ecommerce thanks for updated.. Yii Development

    ReplyDelete
  3. Nice information and it will help for beginner that start hosting. If you use third party hosting, I believe that they will support one click installation via their control panel. Here are steps to deploy using Plesk Control Panel

    ReplyDelete
  4. Excellent website you have here, so much cool information!..
    domeinnamen

    ReplyDelete
  5. Great post. thank you for sharing such great information about deploying nopCommerce on shared hosting.

    ReplyDelete