Take the 2-minute tour ×
Server Fault is a question and answer site for 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.

Edited

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?

share|improve this question

1 Answer 1

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.

share|improve this answer
    
+1 This answer would be the way I would approach the task... –  Dscoduc Nov 28 '09 at 19:55

Your Answer

 
discard

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.