Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Host same website at 2 or more different web hosts?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Host same website at 2 or more different web hosts?

Can we host the same website at multiple web hosts (for load balancing/high availability)?

Say there's two web hosts with the same website then maybe distribute the loads equally, and if there's a problem with one of the hosts then load only from the other host.

How would you sync the contents between the two sites so that they remain the same (say, for Wordpress site)?

Is this possible to do for free (or for very cheap)? How to do this?

Comments

  • vps a: nginx/caddy/apache, just to do the load balance thing, also running your wordpress
    vps b: wordpress

    (maybe)vps c: running database for wordpress

  • vsys_hostvsys_host Member, Patron Provider

    You can use the free Cloudflare service for load balancing.

  • ericlsericls Member, Patron Provider

    What's the read/write pattern for the website?

  • mgcAnamgcAna Member, Host Rep

    For likes of wordpress, you need to keep both servers in sync, you can use periodic rsync for files and run master-master mysql sync between two for DB. Assuming there is not a of data manipulation is happening in DB, it will work fine even on separate DC but closer is better (lower latency). We can also go for few other approaches but this might help you to start. And as @ceplavia mentioned, use CF for load balancing to distribute traffic between servers.

Sign In or Register to comment.