Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I know there are many questions out there, but none seemed to address specifically what I am after.

I have one instance of IIS, with two separate applications on it. Each application works on its own URL, with it's own IP address and domain, and each domain has its own certificate.

How can I set up IIS to server up the correct combination based on the correct host?

share|improve this question

1 Answer 1

Through bindings. Assuming you've already imported your SSL certs:

  1. Create 2 web sites in IIS.
  2. Edit the https bindings for each site to include bindings for the respective IP's

enter image description here

You'd set your IP address for the IP of the respective domain name and then select that domain's certificate in the drop-down. Then you want to make sure that no other sites have bindings for those domain names or IP's.

That should do it for you.

share|improve this answer
    
That's what i did... however when i put in the IP address, I can no longer reach the site. Any ideas? –  Paul Grimshaw Mar 31 at 15:19
    
What are the error(s) you get? –  squillman Mar 31 at 15:32
    
Not a lot. Just a 404 page not found when i change the IP address from * to the specific one. Tried with host headers and appCmd, still no joy. Can only seem to get it working with *, which doesnt' allow me distinguish between the sites. –  Paul Grimshaw Mar 31 at 15:43
    
Do you have a wildcard binding on any other sites? –  squillman Mar 31 at 15:46
    
Only on a custom port (6326)... just stopped this website and still no joy however –  Paul Grimshaw Mar 31 at 15:50

Your Answer

 
discard

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.