We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

SSL Name Based Virtual Hosting (like Apache can do)RSS

1 reply

Last post Jul 24, 2010 04:27 PM by richma

  • SSL Name Based Virtual Hosting (like Apache can do)

    Jul 16, 2010 05:52 PM|joe_l|LINK

    We need to do SSL Name Based Virtual Hosting using the same ip and same port (443) for multiple domains We have already researched this issue and it seems to be a limitation within IIS7 that will not allow this (carry over from iis6). We need to know if there is a patch that will fix this or if there are appcmd commands that will in-fact make this work.

    <div dir="ltr" align="left"> <div dir="ltr" align="left"> </div> <div dir="ltr" align="left">The appcmd command that I used already is the following:</div> <div dir="ltr" align="left"> </div> <div dir="ltr" align="left">%systemroot%\system32\inetsrv\appcmd set site /site.name:"<IISSiteName>" /+bindings.[protocol='https',bindingInformation='*:443:<hostHeaderValue>']</div> <div dir="ltr" align="left"> </div> <div dir="ltr" align="left">The command above lets a hostname be added for https to the virtual website. The problem is when you go and choose a cert from the gui it only lets you use a cert that was already used for a previous virtual site using https.

    Apache is able to do the SSL Name Based Virtual Hosting (please see http://www.g-loaded.eu/2007/08/10/ssl-enabled-name-based-apache-virtual-hosts-with-mod_gnutls/ ).


    (copied from previous post I added here: http://forums.iis.net/p/1169604/1950321.aspx )

  • Re: SSL Name Based Virtual Hosting (like Apache can do)

    Jul 24, 2010 04:27 PM|richma|LINK

    The only way I can see this working is with a certificate that supports multiple commn names as discussed in the following article.