|
Home > Archive > Commerce Server General > May 2004 > Nonsecure host name
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Nonsecure host name
|
|
| Mike Loffland 2004-05-11, 8:20 pm |
| Is there a way to designate more than one DNS domain name for the Nonsecure
host name? We have multiple domain names that need to point to the same
Commerce Server Application.
| |
| Zoe Hart [MVP] 2004-05-13, 11:59 am |
| If I understand you correctly, you should be able to do what you need to do
without specifying additional Nonsecure host names. Simply register the
multiple domain names to map to the same IP address. Commerce Server will
use the one domain name you specify as the Nonsecure host name when it
builds internal site links using the QueryStringBuilder object, but the
other domain names will still correctly point to the site.
Zoe
"Mike Loffland" <mloffland@cox.net> wrote in message
news:uSjMvo5NEHA.2952@TK2MSFTNGP12.phx.gbl...
> Is there a way to designate more than one DNS domain name for the
Nonsecure
> host name? We have multiple domain names that need to point to the same
> Commerce Server Application.
>
>
>
| |
| Mike Loffland 2004-05-13, 4:33 pm |
| Actually... I found the problem.
GetCorrectedHostName is called in the setupenv.asp script.
This function reads the "Nonsecure host name" specified in the CS manager.
So if a request comes in that does not match the domain provided in the
"Nonsecure host name" (including case sensitivity)... the
GetCorrectedHostName function replaces the host name with domain provided in
CS manager.
So I populate a public array with all the domains that I want to resolve
properly... and simply itterate through the array instead of matching the
ONE "Nonsecure host name"... I have altered the site not to use cookies, so
the whole cookie thing is no longer an issue.
"Zoe Hart [MVP]" <Zoe.Hart.NoSpam@Competitive.com> wrote in message
news:uWTO4wOOEHA.1048@tk2msftngp13.phx.gbl...
> If I understand you correctly, you should be able to do what you need to
do
> without specifying additional Nonsecure host names. Simply register the
> multiple domain names to map to the same IP address. Commerce Server will
> use the one domain name you specify as the Nonsecure host name when it
> builds internal site links using the QueryStringBuilder object, but the
> other domain names will still correctly point to the site.
>
> Zoe
>
> "Mike Loffland" <mloffland@cox.net> wrote in message
> news:uSjMvo5NEHA.2952@TK2MSFTNGP12.phx.gbl...
> Nonsecure
>
>
|
|
|
|
|