Secondary server location as backup

Discussion in 'Installation/Configuration' started by ariban99, Feb 21, 2021.

  1. ariban99

    ariban99 Member

    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
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    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:
    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.
  3. ariban99

    ariban99 Member

    I understand. I guess your right, time to go with google cloud
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    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.

Share This Page