0

So I have a simple web app (LAMP) , minus (MySQL) , that stores user generated data into files (think photos, audio etc). I want to setup a failover webserver what's the easiest way to do this?

Thinking about using a cron to just rsync data files to backup server , but need some way to detect when primary server is offline and point to new web server. Any suggestions would be helpful.

1 Answers1

0

Load balancer with heath check in front of the web servers.

John Mahowald
  • 32,050
  • 2
  • 19
  • 34