Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 409
  • Last Modified:

Need a fault tolerant solution for web server

What is the best way to set up a backup web server (fault tolerance/fail-over)?
3 Solutions
Put a load balancer in front of two web servers.  You then have the choice of balancing the load between the two, or direct all users to the server that you want to be 'Active'/'Primary', with a rule to go to the other server should the 'Active'/'Primary' fail.  Health checks are needed to be set up on the load balancer to determine if the web server is actually up.  A health check could be for part of the HTML that you know will ALWAYS be inside the web site (and preferably near the bottom of the web page) - take care to avoid checking for any content that would also be in error pages!
A good load balancer is Zeus - www.zeus.com - I'm sure others can recommend more!

Best of luck!
Handy HolderSaggar makers bottom knockerCommented:
Depends on the OS, you can use network load balancing but only if the data isn't written from client to web server since it would be out of date on one of them unless you have something to sync it.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now