I have a wordpress website on a shared hosting. For redundancy reasons, I want to have a copy of the site on another shared hosting, so that if the first one is down, the traffic can be redirected to the other one.
Asking this question in wordpress section because most of the challenges are wordpress specific than server specific. Those are:
- Wordpress works only on one domain name, so how can I access the 2nd installation when DNS is pointing to the first one? I don't want to load balance but more of a fallover.
- What's the best way to sync files and DB across shared hosting? Any wordpress plugins that can do this seamlessly every time a new post is published?