Host multiple domains with different SSL Certificates IIS7
Posted on 2010-08-24
I am having problems setting up multiple websites, each with different domain names and SSLcertificates. The sites are hosted on IIS7 running off of Server 2008. The issue I'm having seems to be with the port configuration (443).
I have two domain names (subdomain.domain1.com and subdomain.domain2.com), each with SSL certificates. I want to be able to serve these sites without including the port in the URL. The problem, however, that once I assign one of the certificates to use port 443 with a certificate, I'm unable to bind the other website/certificate on the same port. I am, however, able to get the other site working with SSL if I bind it to another port, but this only works if the port number is included in the URL - which is what I don't want.
Is there a way to assign the second website/certificate to a different port, like 444, and have IIS7 automatically serve the site without including the port number in the URL?
The server is setup with an internal IP address of 192.168.0.2. I've added another internal IP address (192.168.0.3) in the network settings, and if I assign the second site to the new IP address, and select port 443, I don't get any certificate error messages about conflicts, but when I try to launch the second site, it doesn't work (it serves up the default website).
I'm thinking that I need to do something with DNS, but so far nothing I've tried has worked. DNS is not something I'm familiar with, so I'm lost here.
I should also mention that the first website has a wildcard SSL certificate (*.domain1.com) whereas the other domain name has a SSL certificate assigned to a specific subdomain (launch.domain2.com). The only DNS entry I have currently is for domain1.local, but the site can be accessed from the internet using domain1.com.
I hope this makes sense to someone, I'm not sure how else to explain what's going on. Any help would be appreciated.