Link to home
Start Free TrialLog in
Avatar of castellansolutions
castellansolutionsFlag for United States of America

asked on

Redirect HTTP to HTTPS Requests, IIS 7.5

I have a website that is part of a hosted exchange site. the site works both with http and https. As long as you type in HTTPS, the connection is secure. However I wanted to make sure that all connections were redirected to HTTPs.

I have seen several articles on how to do this but am concerned that converting the traffic from http to https might cause problems as more than just users access this site.

How can I convert from HTTP to HTTPS if a user (or something automated) types this in:

http://www.sitename.com/home
http://www.sitename.com/flower/house.htm
http://www.sitename.com/garage/car/motor.aspx

I want to make sure that any URL address is converted from HTTP to HTTPS if it needs to be otherwise it should just be left alone.

Please note: This has to be done with IIS 7.5 Natively and we cannot use any 3rd party products or change the default document. Is this as simple as "Using the redirect option in IIS"? From what I have read it looks easy enough but I am not sure about the URL name / formats etc.

Thanks,

Robert
ASKER CERTIFIED SOLUTION
Avatar of Deadman
Deadman
Flag of India 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 castellansolutions

ASKER

Thanks for the response. I also found that same article. However we cant change any default pages or anything like that we cant add any code due to this being a pain in the.... hosting server.