Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can I bind two different hostnames ( , to a single secure site in IIS?

I have a wildcard certificate (self signed) * and I've used the adsutil tool to add the following SecureBindings

"" ""

I've run the Microsoft SSLDiagnostics tool and it shows me the following message

"Site A and A have conflicting SecureBindings"

(where A is the id of my site).

when I try open the site IE tells me it cannot display the page, Firefox tells me connection interrupted while loading (when I use either of the hostnames)

I actually already have several sites using the same wildcard and have applied the ssl bindings to those using Adsutil, that works a treat each site gets a single ssl host binding.
This question is more specifically around a new scenario where I have two DNS entries which should both go to the same site.

share|improve this question

If and are the only two sites you want to run on that IP address with SSL there is no need to specify the host headers. Just let the DNS entries for both point to that IP address and it will work.

If however, you also want to run a with SSL on the same server, on a different IP address, using the same wildcard SSL certificate, you can do it. By default IIS manager will not allow you to specify a hostname in the bindings dialog if you choose HTTPS. However, there is a neat trick that will enable this and that is to rename the friendly name of your SSL certificate to * This can be done in the certificate manager. IIS guru Scott Forsyth has a nice video that explains this.

share|improve this answer
Updated question – TygerKrash Dec 9 '11 at 12:44
So it's only the site with more than one hostname that gives you problems? If you remove the extra hostnames and just have one it works? – Marco Miltenburg Dec 9 '11 at 16:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.