Link to home
Start Free TrialLog in
Avatar of PDSWSS
PDSWSS

asked on

How would I create an automatic redirect from the http to the https site in Windows Server 2008 R2?

I need to create an automatic redirect from http to the https site.
I asked a similar question in Expert Exchange and was told to use http redirect in IIS 7. However, this does not work as it creates an endless loop that can not be resolved by Firefox.  There must be other ways of solving this issue. Please advise. Thanks
Avatar of Neil Russell
Neil Russell
Flag of United Kingdom of Great Britain and Northern Ireland image

You configured it wrong then! All you would do is create an HTTP redirect in IIS7 to the HTTPS://sitename.org
Avatar of PDSWSS
PDSWSS

ASKER

Looks pretty simple. Did not expect issues.

Since 443 is already taken the

http redirect is to  https:/www.sitename.edu:8000     The https site connects perfectly everytime.

I have attached the configuration that I used. Is there something wrong here?  Thanks,
Picture-3.png
Avatar of PDSWSS

ASKER

I have attached the message I get from Firefox when I attempt to redirect from http to the https site

I have tried this on two different servers and get identical behavior. Thanks
Picture-4.png
IIS 7.5 works different than 7... A bit painful. I used this technique...

http://www.thomasmaurer.ch/2010/11/how-to-redirect-sites-to-https-in-iis-7-5/

ASKER CERTIFIED SOLUTION
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PDSWSS

ASKER

TAWPower:

Followed the instructions in your link to redirect by editing the 403 page. However, did not work.  No different than not editing the 403 page. Still get error.

Is there anything that is left out of these instructions to successfully configure the redirect from http?  Thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PDSWSS

ASKER

I meant to give Hades666 the 500 points. Please reopen so I can make it right.  Thanks
Avatar of PDSWSS

ASKER

Thanks. All the other solutions were wrong.