Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a IIS server running on windows 2003 named Foo. Now I want to create a new IIS server running on windows 2008. My Idea is to slowly move the applications over to the new server while having both servers in production. In order to do this I need to redirect all traffic from the new server where the pages don't exist to the old server. Is this possible? Lets say that I haven't moved over FooOld/Bar/page.asp?id=10, When the user tries to access it at Foo/Bar/page.asp?id=10 I want the server to redirect this to FooOld/Bar/page.asp?id=10. If possible the user shouldn't even see that it has been redirected it should still see Foo/Bar/page.asp?id=10.


I found that Application Request Routing can be used as a reverse proxy. If I have understood how a reverse proxy works then that should work as I want to, or am I wrong?

add comment

1 Answer

You could probably do this with a custom 404 page. I've done it before in a more general manner, but I'm thinking that if you used an ASP (or aspx), read the query string, constructed the new URL based on that, then redirected to the new URL it should work fine.

It'll break on form submissions of course, but I don't think there's an easy way there.

+1 This answer would be the way I would approach the task... –  Dscoduc Nov 28 '09 at 19:55
add comment

This site is currently not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .