Multi Store with different domain names

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Our web developers have created a site with Multi store. We need to access each store with a separate domain names. We are been informed that we have to set up an "Alias" with the second domain name which is not what we want to do.

Question: Is there a way of accessing second store by "Redirecting" the domain name?
6 years ago
Yes, this is actually the correct way to do it.

It is done by configuring the site bindings in IIS.
In your IIS site, right click the site and choose Edit Bindings..

In here, you will have each of the domain names that your multi-store site uses.
If you have SSL for each domain, then you also need an https type for each domain:

TYPE   HOSTNAME                   PORT    ADDRESS

http   domain1.com                 80     yourwebsiteIPaddress
https  domain1.com                443     yourwebsiteIPaddress
http   domain2.com                 80     yourwebsiteIPaddress
https  domain2.com                443     yourwebsiteIPaddress
http   domain3.com                 80     yourwebsiteIPaddress
https  domain3.com                443     yourwebsiteIPaddress


So, all traffic to each domain will resolve to same nopCommerce installation...and the nopCommerce uses the information saved in "Stores" settings to show correct version of the website(store) to each visitor.
6 years ago
Thank you for the reply. However I web guys still maintain that we have to use "Alias"
6 years ago
Your web guys are correct, you will need to edit the cname record of one of the store domain names to be an alias of the the other domain name.

After the record is updated you will then need to update the HTTP_HOST value inside nopCommerce so that the system knows which store should be served to which domain name.
5 years ago
embryo wrote:
Yes, this is actually the correct way to do it.

It is done by configuring the site bindings in IIS.
In your IIS site, right click the site and choose Edit Bindings..

In here, you will have each of the domain names that your multi-store site uses.
If you have SSL for each domain, then you also need an https type for each domain:

TYPE   HOSTNAME                   PORT    ADDRESS

http   domain1.com                 80     yourwebsiteIPaddress
https  domain1.com                443     yourwebsiteIPaddress
http   domain2.com                 80     yourwebsiteIPaddress
https  domain2.com                443     yourwebsiteIPaddress
http   domain3.com                 80     yourwebsiteIPaddress
https  domain3.com                443     yourwebsiteIPaddress


So, all traffic to each domain will resolve to same nopCommerce installation...and the nopCommerce uses the information saved in "Stores" settings to show correct version of the website(store) to each visitor.


Thank you so much embryo..!
This has helped me a lot.

I was using multiple IIS website configurations for multiple domains, that is why the system was throwing the access error as multiple worker processes were accessing same project files.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.