Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 am getting ready to move some web application from an IIS 6 server to another server and I would like to setup the old server so that if a person browses to any URL within that application they will get a page with the new URL which includes the path and query string parameters. I know how to do this as a redirect in IIS, but I can't find a way to have it displayed in a page.

share|improve this question

If all you want to do is set up a "Go somewhere else" alert instead of a redirect, the first thing that comes to my mind is to remove everything from the old server, and serve up a custom 404 page.

share|improve this answer
How would I setup the 404 page to display the new URL? For example for oldserver/apps/page.aspx?parm=1 I want to display newserver/page.aspx?param=1. – user75893 Mar 25 '11 at 18:52
I could write an answer up about parameters in a 404, but I think the guys at StackOverflow did a better job with that:… – Hyppy Mar 25 '11 at 18:58

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.