3

I have a website which I monitor for downtime through Host Tracker. I have setup a backup server as well to point the A record of the main website to the backup server in case of any downtime.

These two servers are from 2 different providers so if one goes down I can quickly act and point the A record to another provider.

The problem is what if this happens over the weekend or midnight. Is there anyway to do this automatically?

This site does not have any email, MX record is just the A record.

1
  • 1
    That setup works great for scheduled downtime, but not great for unexpected outages. Don't make the mistake of adding multiple A records - this often results in round robin DNS results, which is ok for load balancing static sites, but will not provide resilience! For MX records however, multiple records pointing at multiple mail servers do give resilience.
    – dunxd
    Aug 16, 2012 at 12:22

2 Answers 2

2

Some of the better featured DNS providers offer this as a service. EasyDNS is one such company -- their 'Pro' service is something silly like $55/year and provides many features in addition to what they call Failover DNS. You will need to transfer the management of the domain to their nameservers, though.

More details can be found here.

(disclaimer: not affiliated with them; have found their Secondary DNS service to be useful, but never tried their Failover DNS)

0

A load balancer can do this. Google global load balancer. One or both of your hosting companies may offer this as a service.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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