Hy guys, Im currently have only one public IP , and need to serve multiple third party web applications running on different machines on a lan enviroment. How can I forward http/s requests based on server name? Im used to setup apache virtual hosting to serve multiple webs hosted at same server but now I need to map the requests and forward to lan machines. Does apache provides some module to achieve this ? Does nginx ? Any idea would be wellcome, Regards. Leandro.

  • 3
    What you need is a reverse proxy. Apache and nginx can do this. haproxy can as well and is a bit more flexible. – Mark Wagner Feb 14 at 18:10

Name based http services, use a reverse proxy. Some kind of load balancer to make another connection to the backends.

With IPv6, the not enough public IPs problem goes away. IP based direct connections to web servers becomes possible again. However, solutions for IPv4 and load balancing are still needed, so reverse proxies remain ubiquitous.

  • thanks !! can you suggest a platform with graphic interface ? – user2977753 Feb 19 at 12:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.