views:

26

answers:

2

I have a website thats currently being accessed on an "https" url but the certificate is expiring soon and we do not want SSL on this website anymore so just an "http" access is fine. How do I get the requests made to https url automatically redirect to the http url? This page might have been bookmarked by people and the bookmark will still have the "https" url. I want these requests to be redirected to the "http" url. I am running my website on a Microsoft IIS.

A: 

Reply to the request with an HTTP 301: Moved Permanently.

Nathon
A: 

I had a similar scenario, but in the opposite direction.

set your DNS Manager to point to same ip/machine for both http and https

on the iis machine, create a dummy web site for https that points it to http.

mson