I have 2 workstations running identical web pages/sites. My intention is to have a backup to the main machine.
1) How to set up the DNS to do the sharing of the web servers? I just need to enter 2 IPs with the same site name? or
2) Can I use the main DNS server to define the main machine IP? and the backup DNS server for the backup machine IP?
3) How to check whether the main server is down and the backup server has to take over?
The OS is Fedora. Web site is www.abc.com, IP for the main machine is a.b.c.d and IP for the backup machine is aa.bb.cc.dd. Really appreciate if someone can show the zone files including MX, A, CNAME records, etc.