Answer the question
In order to leave comments, you need to log in
How to make a copy of the site on the second server?
There is a site in a closed network on wordpress, you need to make a copy on the second server, so that when one server is turned off, the site works from the second, and when the first one returns to the server, everything is synchronized with it.
Answer the question
In order to leave comments, you need to log in
You do database replication, a distributed network FS for files, scripts or some software implement failover in the form of switching DNS A-records and starting on the second database server for writing. Optionally, you make a balancer somewhere, then you don’t have to switch DNS and wait until the client’s cache runs out, but an additional point of failure appears.
as an option:
on the main and backup servers, organize access to the content servers through a proxy (nginx), and the proxy on the backup server redirects requests to the main content server. In an emergency, it switches to its own content server. You can again raise the proxy a little.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question