How can I forward request to one subdomain to another subdomain in Apache?

Posted by Shpigford on Server Fault See other posts from Server Fault or by Shpigford
Published on 2010-03-20T03:07:57Z Indexed on 2010/03/20 3:11 UTC
Read the original article Hit count: 360

Filed under:
|
|

I'm running Apache 2 on Ubuntu and would like to forward all request on one subdomain to another.

Example:

a.example.com/page.html would forward to b.example.com/page.html

I want to forward all requests (not just a few pages).

How would I set that up in my virtual hosts?

© Server Fault or respective owner

Related posts about apache

Related posts about apache2