1
General Support / Re: Replicate website for backup
« on: August 21, 2023, 02:16:26 PM »
Thanks llegrand
I read about it and this is what I understood:
From what I read is I do not test failover site I just dump my code and MySql to a separate Cpanel account and have job that updates my Database everynight and point that IP address as Failover at my DNS, correct?
main-website.com will have Cpanel and MySQL point to 1.2.3.4 and at my DNS they check it every minute and if they dont get response they point it to failover.
Let's say my failover is at failover-website.com and MySQL is also there but I do need to test this failover and for this failover I need to have URL in config file? correct ?
One option I can think of is to make host entry and try it locally and it should work but I just want to know how these big companies handle failover.
I read about it and this is what I understood:
From what I read is I do not test failover site I just dump my code and MySql to a separate Cpanel account and have job that updates my Database everynight and point that IP address as Failover at my DNS, correct?
main-website.com will have Cpanel and MySQL point to 1.2.3.4 and at my DNS they check it every minute and if they dont get response they point it to failover.
Let's say my failover is at failover-website.com and MySQL is also there but I do need to test this failover and for this failover I need to have URL in config file? correct ?
One option I can think of is to make host entry and try it locally and it should work but I just want to know how these big companies handle failover.