[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

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

Posted on 2014-01-03
3
Medium Priority
?
252 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

612 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