Click here to Skip to main content
15,795,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have Windows Server 2008 (64 Bit) and Application is hosted in IIS 7.5
https certificate is already installed for the site and
<secureWebPages> tag has mode "On" in webconfig.

My question is:
If I'm tempering the url from https to http, the site went on http throught out every pages.
Please let know how to make the site in https even if I change it to http ? Thanks.


1 solution

You may have to restrict the access to site only through HTTPS . I am not sure about IIS 7.5, But for IIS 5.1 (Windows server 2003) I used to do this by

> Go to website Properties
> Select 'Directory Security' tab
> Click Secure communications -> Edit (After adding the certificate)
> Check 'Require Secure Channel(SSL)'
> Check 'Require 128 bit encryption' . This is optional.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900