July 3, 2007
Is it possible to have Apache reroute a connection to a different server on the same network?
I have a Red Hat linux box (Server 1) serving as a gateway computer for our network, as well as hosting our website. I'm currently developing another website on another linux box (server 2) in the network, but connected to the internet through the other. Is it possible to have the gateway computer direct webbrowsers to server 2? Is there a configuration in apache that would do that?
- I don't think you can do what you want through Apache. Even if you could, how would you reference server #2? By IP address, n ame?
If server2 has a public IP address, then you should do your redirect by pointing the name of the website on server #2 to IP addr. of serv.#2 in DNS.
Tags: linux file system, linux system























