Setting Multi-Store Subdomain for new store... Soemthing wrong with DNS

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 years ago
i have a main store, let's say it is: company.com

in this site i manage all product stocks and all existing products

i want to create another store (website) for wholesale buyers and create it at: wholesale.company.com

i have problem setting my dns on domain registrar website

my main site has record @ "A" with my server IP address, i use VPS with IIS on it

i created new record wholesale "A" with my server IP

my main domain (company.com) has SSL certificate, new subdomain does not have certificate, so i configured subdomain (wholesale.company.com) this way in admin:
Store name:         COMPANY WHOLESALE
Store URL:             http://wholesale.company.com
SSL enabled:        NO
HOST values:       wholesale.company.com
Display order:     2


now it just redirects to main site https://company.com

so i have following questions:

1. how to set subdomain for new store (multi-store feature)? what am I doing wrong?

2. are there any other ways to have totally separate website with separate admin side but using old site stocks inventory, categories, products and etc? for example, if i increase stocks on company.com then it also must be the same on wholesale.company.com (stocks must be updated automatically whenever theres is increasing or decreasing stock on company.com)


thx
2 years ago
arthur_shneider wrote:
1. how to set subdomain for new store (multi-store feature)? what am I doing wrong?

Did you bind the domain wholesale.company.com in IIS to the same website as company.com
But you may also run into issues with browsers if the main doamin has SSL and the subdomain does not
Normally you use a Wildcard or Subdoamin SSL Certificate in this case

arthur_shneider wrote:
2. are there any other ways to have totally separate website with separate admin side but using old site stocks inventory, categories, products and etc? for example, if i increase stocks on company.com then it also must be the same on wholesale.company.com (stocks must be updated automatically whenever theres is increasing or decreasing stock on company.com)
[/b]

Well the above is the simple way you do it
2 years ago
Yidna wrote:

Did you bind the domain wholesale.company.com in IIS to the same website as company.com
But you may also run into issues with browsers if the main doamin has SSL and the subdomain does not
Normally you use a Wildcard or Subdoamin SSL Certificate in this case


my main domain company.com has SSL and it always opens like this https://company.com

in IIS i added it like this https://company.com on port 443 and http://company.com on port 80

in my domain registration admin panel i edited dns like this @ A record with VPS server IP

then i created A record with subdomain name WHOLESALE and with the same VPS server IP

in nopcommerce admin i have created new store WHOLESALE with URL http://wholesale.company.com

and now when i type http://wholesale.company.com in the browser it redirects me to https://company.com

i tried in different browsers many times, refreshed everything and cleared all cashes and restarted the site

it doesn't work! what am i doing wrong?
2 years ago
arthur_shneider wrote:

my main domain company.com has SSL and it always opens like this https://company.com
in IIS i added it like this https://company.com on port 443 and http://company.com on port 80

In IIS You also need to add
http://wholesale.company.com on port 80
and if with the correct SSL Certificate
https://wholesale.company.com on port 443 and
2 years ago
Yidna wrote:
In IIS You also need to add
http://wholesale.company.com on port 80
and if with the correct SSL Certificate
https://wholesale.company.com on port 443 and


in IIS i also added http://wholesale.company.com on port 80

second site http://wholesale.company.com doesn't have SSL

it does not work!
2 years ago
Did you try Restart the webserver and APPpool ?
2 years ago
Yidna wrote:
Did you try Restart the webserver and APPpool ?


now yes, i tried to restart and refresh everything, recycled APPpool, restarted the app from both sides, admin and in ISS then cleared cash, then restarted VPS

it does not work! it redirects immediately to the main url https://company.com

what am i doing wrong?
2 years ago
can someone help me ? what am i doing wrong ???
2 years ago
Yidna wrote:
Did you try Restart the webserver and APPpool ?


can you help me please ???
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.