need help to configure Multi Store configuration in Localhost

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 yıl önce
Hi All,

I setup a nopcommerce site on IIS at port 80, site is working fine http://localhost
then I added two bindings as

hostname :testhost1 and port :80
hostname :testhost2 and port :80


Host file entries are :
127.0.0.1        testhost1:15536
127.0.0.1        testhost2:15536

and store settings are :

Store name : StoreA
Store URL : http://testhost1:80/
HOST values :testhost1:80,http://localhost/

Store name : StoreB
Store URL : http://testhost2:80/
HOST values :testhost2:80,http://localhost/

Please let me know where , I am wrong.
I have ready many pages , But was unable to setup .
Can someone help me and provide the screenshot of Host file, store setup in admin and also IIS settings for IIS.

Thanks
7 yıl önce
Hi,

You should not add any port in the host file.
Use just:
127.0.0.1       host1.local
127.0.0.1       host2.local
The configure IIS to bind host1.local and host2.local to your installation
Regards, Giuseppe
7 yıl önce
As Suggested my changes are as

IIS Bindings are:
hostname :host1.local and port :80
hostname :host2.local and port :80


Host file entries are :
127.0.0.1       host1.local
127.0.0.1       host2.local
    
and store settings are :

Store name : StoreA
Store URL : http://host1.local/
HOST values :host1.local

Store name : StoreB
Store URL : http://host2.local/
HOST values :host2.local

But it's not working. Let me know what is wrong now.
7 yıl önce
Do you see the IP 127.0.0.1 in list within IIS bindings?
what do you see if you browse 127.0.0.1?
7 yıl önce
yes, Site is working as :

http://localhost/
http://127.0.0.1/

Can you sent /share screenshots. So that I can check provide.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.