Can I have multiple A records for my domain to have fail over hosting?

DNS (domain name system) does not allow multiple A records in a fail over fashion. There are also no priorities with A records. If you create multiple A records, the dns will resolve your domain in a round-robin fashion to all IPs. What this means is that if you have say 2 A records for your domain, and host your domain at two locations, some clients will see site at one location and others on the second one, at the same time, depending on what A record (resolution) they received.

To setup a fail over requires much more than that. It involves clustering (expensive and reliable) OR automatic DNS update through some script (cheaper solution and slow).

Example of clustering is that you have one device (e.g. a server) that handles the routing of traffic to which ever server is online. If one goes off, it starts redirecting the traffic to other. http://www.linux-ha.org is one such project.

Second solution can be that if main server goes off, the DNS hosted at 3rd location updates the A record (which should have a low refresh time e.g. a few minutes). Depending on how fast the dns propagates, the traffic will start flowing to backup/second location. This solution requires custom scripting or 3rd party dns provider.
  • 76 Users Found This Useful
Was this answer helpful?

Related Articles

How do I park a domain name ?

You can park a domain in your cPanel control panel under the "park domain" link. Please review...

How do I transfer my domain name to your registrar ?

If you wish to move your domain names to a new registrar service you can do this as well. The...

How do I update my DNS entries at my registrar?

Often, the most timely process in getting set up will be if you are transferring your domain...

What is a Sub-Domain?

A sub domain is one, which resides under your top-level domain name, but behaves as a "totally...

How much does domain registration cost?

You may find out our prices here: http://www.ucg.ae/Domain-Name/Registration.htm