Probers for my hosting

I have a VM from Hetzner for my wife’s website and my own. I run several probers hourly from cron on the VM and on a machine in my house (so they aren’t singly homed) to ensure that the VM, DNS, Apache, and websites are working properly:

  • The simple link checker I wrote checks my wife’s website, the development version of my wife’s website, and my website. Checking the development version of my wife’s website gives me an early notification when I’ve broken something during development rather than finding out after deploying to production.
  • Check that a magic string is present in the response from to detect failures:
  • Check that A, AAAA, and MX records are correct for every domain: check-dns-for-hosting.
  • Check that HTTP requests are redirected to HTTPS, that requests for DOMAIN are redirected to www.DOMAIN, and that requests for dormant domains are redirected to the correct domain: check-redirects-for-hosting.