I have a website in a local network on two different machines. The machines have IP addresses and I have a firewall that should execute server load balancing when one of two machines becomes busy. In this scenario, I don't have a domain name, but when I want to connect to this web site I always ask for in my browser. Then If this machine can't respond, the firewall should send the request to So my question is, how can I configure Apache on to answer request even if they come with name? Any help would be apreciated

  • If you have only one virtual host on each server (or none) then you don't need to do anything, it will just work. You should just make sure the setup (other than the bind IP) is the same on both servers. – Unbeliever Dec 20 '16 at 11:29

If you are on the same local network then firewall is not involved in comunication with web server an you. You need load balancer. For example nginx. http://nginx.org/en/docs/http/load_balancing.html

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.