Apache redirect some requests to another server

Posted by mucie on Server Fault See other posts from Server Fault or by mucie
Published on 2012-10-15T07:07:00Z Indexed on 2012/10/15 9:39 UTC
Read the original article Hit count: 181

Filed under:
|

We just bought a new server.

We want our old server to respond the https connections(because of ssl certificate) and new server to respond the rest. New server is ready but i don't know how to redirect requests to new one.

mydomain.com => old machine ip
10.10.10.41 => new machine

Requests will come through mydomain.com.

If it is https:
   respond
else
   redirect to 10.10.10.41

How should i configure apache for this situation?

© Server Fault or respective owner

Related posts about apache2

Related posts about redirect