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.
nav2567Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KimputerCommented:
Yes you can if you want to secure site1.mydomain.com and site2.mydomain.com using a wildcard certificate.
If not, and you need domain1.com and domain2.com, you're out of luck, as you can have only one certificate installed (on one IP address).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cyclops3590Commented:
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.
0
Dave_DietzCommented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.