Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to do something very simple on a Windows Server 2003 machine; have the web server serve a redirect instead of a particular page's content, whenever the user tries to navigate to that particular page.

The default document is "index.html", so if a user types "", they will normally be taken to "index.html".

I have set a redirect in IIS on "index.html", to go to "". In the content view, the status for that page says "Redirected to".

The problem is, IIS is serving the content of "index.html", instead of redirecting to the new web site, when a web browser accesses "", but redirects as expected if users navigate directly to "".

I would expect that regardless of how the user gets to "index.html", when the server is asked to serve the page, it would always serve the redirect, rather than the page content.

share|improve this question

Try adding a meta refresh tag to index.html.

<meta http-equiv="refresh" content="0;url=">
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.