Multiple Sites running same code, w/SSL.
From: Jeffery Anti (iiisystems_at_yahoo.com)
Date: 11/24/04
- Next message: Showkat Lone [MSFT]: "RE: Multiple Sites running same code, w/SSL."
- Previous message: Tom Kaminski [MVP]: "Re: prevent asp.net and IUSR from accessing c:\"
- Next in thread: Showkat Lone [MSFT]: "RE: Multiple Sites running same code, w/SSL."
- Reply: Showkat Lone [MSFT]: "RE: Multiple Sites running same code, w/SSL."
- Reply: David Wang [Msft]: "Re: Multiple Sites running same code, w/SSL."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 24 Nov 2004 11:54:49 -0800
I have an IIS 5.0 server hosting multiple sites that point to the same
code base. The host is the only part of the FQDN that changes per
customer. The domain for all the sites will always be samedomain.com.
All the sites resolve to the same IP so I use Host Header Name in IIS
to direct traffic. I know this isn't the best way, but it's what I
inherited and I have to make due for now.
"cust1" requires SSL, and "cust2" does not.
Example:
Site in IIS:
cust1.samedomain.com
(SSL ON)
home directory is /inetpub/mastersite
Site in IIS:
cust2.samedomain.com
(SSL OFF)
home directory is /inetpub/mastersite
Hitting https://cust1.samedomain.com works properly
Hitting http://cust2.samedomain.com works properly
Now here's the problem:
Hitting https://cust2.samedomain.com results in the end user being
presented w/a Certificate acceptance claiming the cert is not valid
for this site. There is NO cert setup for this site, only cust1 site
has a cert installed. For some reason IIS is attempting to direct all
https traffic to cust1 site regardless of the host name... it should
just say "no web site is configured blah".
How do I resolve this?
BTW: In IIS/Web Site/Web Site Identification/Advanced/
cust1.samedomain.com:80 is the only entry for the site
cust1.samedomain.com, and 443 is the only listing in "Multiple SSL
Identities"
Thanks all.
-Jeff
- Next message: Showkat Lone [MSFT]: "RE: Multiple Sites running same code, w/SSL."
- Previous message: Tom Kaminski [MVP]: "Re: prevent asp.net and IUSR from accessing c:\"
- Next in thread: Showkat Lone [MSFT]: "RE: Multiple Sites running same code, w/SSL."
- Reply: Showkat Lone [MSFT]: "RE: Multiple Sites running same code, w/SSL."
- Reply: David Wang [Msft]: "Re: Multiple Sites running same code, w/SSL."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|