How To Switch To https Automatically

Hi,

I have installed an SSL certificate on IIS 5 and I can navigate to my site using https no problem if I manually type https in the address bar.

When I navigate to http://mywebsite I would like for it to switch to https://mywebsite.

Do I need to do a redirect or use some other method to make this happen automatically?
AsparonaAsked:
Who is Participating?
 
kevin_uk05Commented:
Place the following between the <HEAD> and </HEAD> tags

<meta HTTP-EQUIV="REFRESH" content="0; url=https://www.yourdomain.com/index.html">
0
 
kevin_uk05Commented:
You will need to create a default page for HTTP request, which in turn will redirect you viewer to HTTPS
0
 
amajidkhCommented:
admionistrative tools -> iis -> right click and open properties of website

Document security-> secure Communications->edit as it would already ave been applied to it and tick require ssl

majid
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.