Configure host headers with SSL using IIS 7.5 RRS feed

  • General discussion

  • I want to configure host header with SSL Cert using II 7.5

    i have completed following this steps

    Generate Your IIS Self Signed Certificate

    1) Click on the Start menu, go to Administrative Tools, and click on Internet Information Services (IIS) Manager. 
    2) Click on the name of the server in the Connections column on the left. Double-click on Server Certificates.  
    3) In the Actions column on the right, click on Create Self-Signed Certificate...
    4) Enter any friendly name and then click OK.

    Bind the Self Signed Certificate

    1) In the Connections column on the left, expand the sites folder and click on the website that you want to bind the certificate to. Click on Bindings... in the right column. 
    2) Click on the Add... button. 
    3) Change the Type to HTTPS and then select the SSL certificate that you just installed. Click OK. 
    4) You will now see the binding for port 443 listed. Click Close. 

    step 3 and 4 are not allow to enter host name when i select HTTPS in type so i found solution and got command for add bindings with HTTPS,Host Name and also select SSL cert.

    appcmd set site /site.name:"Default Web Site" /+bindings.[protocol='https',bindingInformation='*:443:www.xyz.com']

    but problem is https://localhost working fine but https://www.xyz.com is keep loading

    https://localhost is working with port number (80) https://www.xyz.com is working with port number (443)

    why should be this not working

    please help me thanks

    Wednesday, April 16, 2014 8:48 AM

All replies

  • now then we have solved it add domain in this file

    path : C:\Windows\System32\drivers\etc\host.txt

    add this xyz.com

    Wednesday, April 16, 2014 10:19 AM