[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2014-01-03
3
Medium Priority
?
248 Views
Last Modified: 2014-01-13
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.
0
Comment
Question by:nav2567
3 Comments
 
LVL 37

Accepted Solution

by:
Kimputer earned 2000 total points
ID: 39754271
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
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 39754560
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
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 39756773
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

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question