General discussion


IIS 5 and SSL

By jrickert ·
How do you automatically redirect an http request to a https site?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

IIS 5 and SSL

by EJ Honda In reply to IIS 5 and SSL

We've recently decided to consolidate several domains and promote only one domain as our featured domain. What we've done is setup a web site in IIS that accepts requests from all the other domains except our featured domain. We've got the following HTML code in the site's index page. This redirect page displays for 10 seconds before redirecting - if you want to redirect immediately then change the value 'content="10;' to 'content="0;' and remove the displayed text from the code. (I've changed the code to redirect requests to an HTTPS site):


<meta http-equiv="refresh" content="10; URL=">
<title>Redirect page</title>
<base target="_self">

<body bgcolor="#FFFFFF">

<h3>You are being forwarded automatically to <a href=""></a> in 10 seconds.</h3>

<p> </p>
<h3>Please update your bookmark to point to <a href=""></a>.</h3>

<p> </p>
<h4>If the page does not forward automatically, <a href="">click here</a>.</h4>



Related Discussions

Related Forums