Uses uptimerobot for monitoring, if a website is down, automatically switch the IP of an A record to a backup server's IP
A PHP web hook to handle down notifications from uptimerobot. If a DOWN notification is received, it'll change the A record of a domain on cloudflare to a backup IP set by you.
License: MIT
Dependencies: Web Server, PHP, php-curl lib
Setup:
With this setup, a website shouldn't have a downtime of more than ~6 minutes, assuming your DNS provider does not cache queries.
You can reach me on twitter .
If you're looking for StatusCake + Cloudflare, you can find it here .