Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

My question is very similar to this one: IIS 7.0 install two SSL certificates with two different host headers except that my domains are totally different:

1 SSL for 1 SSL for

I installed my certificates as described in that question/answer but if I navigate do (which I binded via appcmd ...) I get the certificate for Therefor if I open the bindings via IIS7 I see that use the wrong certificate, but if I change it will change for too.

I really don't know how to solve this issue!


share|improve this question
up vote 1 down vote accepted

You can't. An SSL certificate applies to a whole port/ip combination because the host header is encrypted so can't be used at that stage.

The question you refer to suggests to apply a single wildcard certificate to both domains because the single certificate is relevant to both domains. The option allows a single certificate to be applied to multiple sites. Where the domains are entirely different this won't work. You are trying to apply multiple certificates.

If you have two seperate domains that you want to use SSL on then you will need two seperate IP addresses.

share|improve this answer

You can only do this with a multi domain certificate. These are usually more expensive than regular certificates but allow you to add multiple totally different domain names to a single certificate.

share|improve this answer

If the web server is behind a load balancer it would make sense to run the https element on a non-standard port and redirect it using said load balancer. This will allow you to run multiple certificates.

share|improve this answer

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.