Solved

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

Posted on 2014-01-03
3
240 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 36

Accepted Solution

by:
Kimputer earned 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

705 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