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 an old ASP.NET Server and Website running in IIS on this surver with many sub sites and pages for example:

www.mysite.com/users/

www.mysite.com/tools/

www.mysite.com/orders/vieworders.aspx

I now have a new website that will be running on a new Apache server that I will be transering my domain to (for example)

www.mysite.com/index.php

I would like my new site (with my old domain) to still direct traffic to the old pages on my IIS server, is there a way to do this? So for example if someone visits www.mysite.com they would go to my PHP site, but if they type in, or used a book mark to www.mysite.com/orders/vieworders.aspx they would end up at my old site on IIS?

Thanks

share|improve this question

1 Answer 1

You could set up your Apache webserver as a Reverse Proxy which could funnel requests to your old ASP.NET web server should the client hit any of your 'legacy' sub directories.

Have a look at mod_proxy for Apache.

share|improve this answer

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.