Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

IIS 7 http redirect to https

Posted on 2011-03-14
5
Medium Priority
?
734 Views
Last Modified: 2012-06-21
Hi,
I recently installed ssl and now all my clients visit my site as https://servername.domainname.com
still some of the clients visit http://servername.domainname.com and get page 403 forbidden.  I want if some one still visit as http should be auto redirected to https.  How and where in IIS 7 can I do this.  Suggest plz
0
Comment
Question by:amanzoor
  • 2
  • 2
5 Comments
 
LVL 28

Accepted Solution

by:
MAS earned 1600 total points
ID: 35130108
Create a new webiste bind with port 80 and redirect it to
 https://servername.domainname.com
0
 
LVL 10

Assisted Solution

by:pramodsk40
pramodsk40 earned 400 total points
ID: 35130169
Thats a good way as abbasiftt suggested...also specifically for IIS7 these are the ways available which you can use...

http://www.sslshopper.com/iis7-redirect-http-to-https.html
0
 
LVL 5

Author Comment

by:amanzoor
ID: 35132984
Hi guys:
No luck.  At the moment at my router I have enabled only port 443 do I have to enable port 80 for this redirection to work?
0
 
LVL 28

Expert Comment

by:MAS
ID: 35134562
you try from internal network first.

If that works then configuration is fine.

Is it working within your network?
 
0
 
LVL 5

Author Comment

by:amanzoor
ID: 35137625
abbasiftt:
I will be in the office tomorrow and will let you know.
THanks
0

Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team ā€“ a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lync server 2013 or Skype for business Backup Service Error ID 4049 ā€“ After File Share Migration
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Loops Section Overview
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give iā€¦

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question