+ Post New Thread
Results 1 to 10 of 10
Windows Thread, IIS7 Multiple 443 & SSL in Technical; I have two sites in IIS7, the Default Web Site and one for Reporting. I have two SSL certificates. I ...
  1. #1

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,139
    Thank Post
    403
    Thanked 622 Times in 568 Posts
    Rep Power
    181

    IIS7 Multiple 443 & SSL

    I have two sites in IIS7, the Default Web Site and one for Reporting. I have two SSL certificates.

    I am trying to work out how I can leave both sites running on port 443 and assign the relevant SSL to each. It seems as soon as I make changes to the Default Web Site, the reporting site is changed, and vice versa.

    Is this possible? Or do I need to get an SSL certificate that has all the relevant URLs on one certificate?

  2. #2
    jamesfed's Avatar
    Join Date
    Sep 2009
    Location
    Reading
    Posts
    2,202
    Thank Post
    137
    Thanked 342 Times in 289 Posts
    Rep Power
    86
    You will need to either get another NIC in your server (so one SSL cert per NIC and IP address) or get a multi domain/wildcard cert

  3. #3

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,139
    Thank Post
    403
    Thanked 622 Times in 568 Posts
    Rep Power
    181
    And then just give each site a different hostname?

  4. #4
    jamesfed's Avatar
    Join Date
    Sep 2009
    Location
    Reading
    Posts
    2,202
    Thank Post
    137
    Thanked 342 Times in 289 Posts
    Rep Power
    86
    That's the one - although the SSL certs should have the host names in already which IIS will pickup.
    Then in your DNS point the address to the IP that you have assigned the site to.

  5. #5

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,139
    Thank Post
    403
    Thanked 622 Times in 568 Posts
    Rep Power
    181
    Quote Originally Posted by jamesfed View Post
    That's the one - although the SSL certs should have the host names in already which IIS will pickup.
    Then in your DNS point the address to the IP that you have assigned the site to.
    But if all the sites are on one server, on the same port and IP, I'll have to use the hostname to differentiate between the sites? If the SSL has multiple names on it?

  6. #6
    jamesfed's Avatar
    Join Date
    Sep 2009
    Location
    Reading
    Posts
    2,202
    Thank Post
    137
    Thanked 342 Times in 289 Posts
    Rep Power
    86
    Sorry I wasn't clear

    You need...

    IP Address 1 (192.168.2.2) - SSL Cert 1 - NAT to external IP 1
    IP Address 2 (192.168.2.3) - SSL Cert 2 - NAT to external IP 2

    So different IPs per IIS site are needed unless you have a multi domain cert or wildcard cert.

  7. #7

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,139
    Thank Post
    403
    Thanked 622 Times in 568 Posts
    Rep Power
    181
    I'm in the process of getting a multi domain SSL to cover all the URLs however you can't have multiple sites running on the same port?

    I was hoping I could have all the sites running on 443 but then use the hostname to differentiate between the sites.

    Seems not.

    Bah. Any other ideas?
    Last edited by Edu-IT; 27th February 2013 at 12:26 PM.

  8. #8

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,680
    Thank Post
    516
    Thanked 2,451 Times in 1,897 Posts
    Blog Entries
    24
    Rep Power
    832
    Quote Originally Posted by Edu-IT View Post
    I'm in the process of getting a multi domain SSL to cover all the URLs however you can't have multiple sites running on the same port?
    You can have multiple sites on a single port using a couple of different methods:

    Virtual sites, with name resolution doing the direction.

    Reverse proxying.

  9. #9

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,139
    Thank Post
    403
    Thanked 622 Times in 568 Posts
    Rep Power
    181
    So in my IIS at the moment I have:

    Default Web site
    - Site 1

    Then I have:

    Site 2
    Site 3
    Site 4

    Do I need to get Site 2, Site 3, Site 4 under the Default Website then rather than as seperate sites?

    Edit: Then set the bindings on that Default Web site so that there is a seperate binding for hostname site2?
    Last edited by Edu-IT; 27th February 2013 at 12:44 PM.

  10. #10

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,139
    Thank Post
    403
    Thanked 622 Times in 568 Posts
    Rep Power
    181
    Darren Marsden | SSL Host Headers in IIS 7.x

    So I followed this and *think* I am on the right path now. Both sites can be accessed over HTTPS using the relevant host name.

SHARE:
+ Post New Thread

Similar Threads

  1. SSL certificates for Sub-Domains (https web services on multiple servers)
    By Davit2005 in forum Internet Related/Filtering/Firewall
    Replies: 7
    Last Post: 7th September 2012, 06:21 PM
  2. IIS7 Configuration help and SSL Certificate help please!!!!
    By pcwise27 in forum Windows Server 2008 R2
    Replies: 1
    Last Post: 21st August 2012, 09:24 AM
  3. Creating SSL certificates.
    By Dos_Box in forum Windows
    Replies: 28
    Last Post: 11th November 2007, 09:22 PM
  4. Do you use multiple Skype clients?
    By Ric_ in forum General Chat
    Replies: 2
    Last Post: 11th December 2005, 07:23 PM
  5. Firefox + Multiple Tabbed Homepages
    By Dos_Box in forum How do you do....it?
    Replies: 0
    Last Post: 15th July 2005, 01:01 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •