Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We wish to host multiple apps across multiple servers. What we are looking for (ideally) is an existing solution which will work. For example, normally to do it we'd follow a route (for failover) like:

  • App is installed on one server along with mysql database
  • App is also installed on a second server. Rsync is used to mirror the files over to the second server and ensure consistency
  • MySQL is installed with a Master->Slave setup.
  • We use a service such as DNS Made Easy which has a DNS failover. If one server goes down it automatically routes traffic to the backup server

We have done the above a few times and generally its fine. The issue I have here is that the above is for one app. What I would like to look at is how we can manage for multiple apps and if there is a layer (such as VMWare) that has complete mirroring built in at the OS level? For example how do web hosts currently do it when they ensure that more than one machine is running a bunch of hosted websites. If you were running hosting and you had 200 clients on a server you would want the same clients across 2 or more servers and want everything mirrored.

Any advice would be much appreciated.

share|improve this question

Have you looked into Load Balancing? It is a layer between the client and the web servers, that determines which web server to use for the client's request:


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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