I have an IIS 8 (win 2012 r2) server and i want to bind the same web site to 2 different domain and to 2 different certificates.

I can't use wildcard since the domains are different FQDNs.

If i add 2 bindings for https and port 443 i can't select 2 different certificates (when i change one binding it changes the other).

There is a way to solve this without using different port or splitting to 2 different websites?


  • Can you give us more infos what is the reason here? One possible option might be to redirect the one domain to the 2nd one. But that seamed to be to easy in your case ;-)
    – BastianW
    Nov 10 '16 at 17:22
  • There is a simple way in this stackoverflow.com/a/27791857/3260008
    – Amos
    Jun 4 '18 at 6:18

There is a simple way to do, tick the "Require Server Name Indication" in "Bindings...".

Reference: https://stackoverflow.com/a/27791857/3260008

  • 3
    This should be the accepted answer
    – uriz
    Sep 25 '20 at 11:16

I found the solution - using ssFlags = 1 https://www.iis.net/configreference/system.applicationhost/sites/site/bindings/binding

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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