[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1241
  • Last Modified:

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

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.  

Thanks.
0
Dave_O
Asked:
Dave_O
1 Solution
 
djcanterCommented:
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.
0
 
xDUCKxCommented:
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.
0
 
Dave_OAuthor Commented:
Thanks guys. Makes sense. I noticed in the bindings section, once you select https, the host-header field grays out.

I will do it.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now