LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Two domains, one IP address, two servers (http://www.linuxquestions.org/questions/linux-software-2/two-domains-one-ip-address-two-servers-244306/)

PowerMatt 10-18-2004 03:33 PM

Two domains, one IP address, two servers
 
How would I do this? Is it possible to configure Apache through virtual hosts to redirect all traffic going to a certain domain to another local IP address (which would be another computer running a web server)? Or would that have to be done outside of apache? Or am I completely off my rocker and this isn't doable?

david_ross 10-19-2004 01:07 PM

You can use the apache proxy module:
http://httpd.apache.org/docs-2.0/mod/mod_proxy.html

PowerMatt 10-19-2004 01:35 PM

Ah cool. Thanks for the reply, that should do it.


All times are GMT -5. The time now is 12:16 AM.