Avatar of nav2567
nav2567
Flag for United States of America asked on

two secured websites sharing a single IP on a IIS 7 server.

Can I have two secured websites on a IIS 7 server using the same IP address?  Assuming I have the host header being specified for each secured website.
Microsoft IIS Web ServerWindows Server 2008

Avatar of undefined
Last Comment
Dave_Dietz

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Kimputer

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Cyclops3590

Kimputer is correct.  The reasoning for this is that the SSL handshake and encryption process takes place before the HTTP request can be processed by the server.  Thus you can't tell what the request is until after the SSL certificate is already in use.
Dave_Dietz

Kimputer is almost correct.

If you wish to use domain names that can't work with a wildcard certificate you can use a SAN (Subject Alternate Name) certificate that specifies the different fully qualified domain names of the site you wish to have share the same IP.

In either case, you would then need to set each site to use the same certificate and you would have to manually edit the for each in the ApplicationHost.config file to add the Host Header correctly.
Your help has saved me hundreds of hours of internet surfing.
fblack61