Hi i have my main ispconfig 3 on my main server connected via a dedicated fiber connection. the other day, it went down (first time it happened) i have a second server location on a fiber connection in another state, is there a way to setup a second server for ispconfig 3 and it should clone or mirror the first one. all files and databases for the website should be up to date. i can manually change the DNS setting to point to the second one IP in the second state, but is there a way to automatically switch dns to point to the secondary location if the first one is down? i use cloudflare for my dns
This has been discussed many times in the forum, so I would advise you to search around and some topics on it. In short: - Replicating the ISPConfig UI and ISPConfig DB is not a good idea. - Replicating the websites can be done, but you would need a central filesystem server. Rsync is not fast enough for stuff like acme challenges for LE certs. - Replicating the databases can be done. - You would need a load balancer in front of it. A recent discussion on it can be found here: https://www.howtoforge.com/community/threads/using-lets-encrypt-with-mirror-setup.86402/ As concluded there, it can be more work to maintain two servers mirroring each other, and if something goes wrong, it can take longer to resolve the problem. For a webserver, I would advice you to set up one stable system with a professional hosting provider, which has uptime guarantee's and engineers that work 24/7 to guarantee the uptime of your server.
I would not use Google Cloud, especially if you want to run a mailserver aswell. Depending on where you are located, Hetzner might me interesting.