LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   forward apache request to another server in LAN (https://www.linuxquestions.org/questions/linux-server-73/forward-apache-request-to-another-server-in-lan-4175587244/)

hruday 08-17-2016 02:00 AM

forward apache request to another server in LAN
 
My configurations are as follows

Server X

centos 6
apache 2.2.15 running on 10.0.1.p:80

Server Y
centos 7
apache 2.4.16 running on 10.0.1.q:8089

Two of my domains abc.com and www.abc.com are mapped to 12.34.56.78 which is static IP.

Now when i access abc.com or www.abc.com the request comes to 80 i.e., Server X but i want to run my application in Server Y which has jboss with port number 9393.

what is the best solution for the above scenario?

Doug G 08-17-2016 08:05 PM

Sounds like you're looking for something like apache mod_proxy https://httpd.apache.org/docs/curren...mod_proxy.html


All times are GMT -5. The time now is 10:09 AM.