How to reverse proxy with Apache?
I have a backend web app server that can be accessed from different countries using a variety of internet connections, I need it to forward the requests to a remote IP.
I have configured two reverse proxies in my Apache and I can access the localhost from both computers but it's not working when accessing from the internet. My backend server is running CentOS 6.myserver.com
ServerAlias myserver.com ProxyPreserveHost On. ProxyPass /. ProxyPassReverse /. . I have tried setting the default gateway with my backend server as the default gateway but the result doesn't work. What should I do to make it work? Set up a second NIC for use by your load balancer (or use a separate one), so that you have more than one routing option available to use.
Related Answers
What are the two types of proxies?
You can use a reverse proxy for multiple reasons, but mostly it is us...
Does Apache support reverse proxy?
I have a.war application which is deployed in the Tomcat server. br...
Why is it called a reverse proxy?
What is the difference between a reverse proxy an...