Adding https to URL of non=SSL site redirects to the SSL site

Posted on 2012-08-14
Last Modified: 2012-08-14
I've configured IIS on a new install of Windows Server 2008 R2 and have setup numerous web sites. I imported my first SSL certificate and configured for only 1 site to use.

Now I notice that if I add https to the URL of any other non-SSL site on that server, I will get re-directed to the site that has the SSL certificate. The URL will be the name of the other site but the SSL site is what loads.

How do I prevent the other non-SSL sites from redirecting to the SSL site when https prefaces the URL.

I noticed in IIS 6 that it throws a 'connection refused' error in this same scenario.

I'm moving these sites from an old IIS 6.0 server to IIS 7.0.

I know the simple answer is not to add https to the URL of the non-SSL sites :-0... but my QC department has raised this issue so I'm trying to find a solution.  

Question by:Dave_O
    LVL 10

    Accepted Solution

    configure an additional ip address on the webserver and bind each non ssl site to the new IP.update your dns. Bind only the ssl site to the ip configured with the certificate.
    LVL 13

    Expert Comment

    to add to DJ's response:  SSL requires it's own IP Address and doesn't support host headers.  You'll need to bind another IP Address to the server in TCP/IP Properties and assign that to the SSL site.

    Author Comment

    Thanks guys. Makes sense. I noticed in the bindings section, once you select https, the host-header field grays out.

    I will do it.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free book by J.Peter Bruzzese, Microsoft MVP

    Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

    Suggested Solutions

    To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
    Imagine a situation that you have installed SSL ( Certificate on your Cisco ASA (Cisco Adaptive Security Appliance) firewall. Installation of SSL certificate on ASA is an another topic for which you …
    This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now