Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

A site on two

Discussion in 'General Discussion' started by mairj23, Aug 25, 2006.

  1. mairj23

    mairj23 Member

    Jul 2, 2005
    Likes Received:
    Trophy Points:
    Hi everyone, is possible maintain my site on two server? if the first server is down the site is still availlable on the second
    How can be done this? DNS? redirect? or other?
    How can maintain the two site syncronized?
    Thanks to all.
  2. spector

    spector Well-Known Member

    Jun 27, 2005
    Likes Received:
    Trophy Points:
    using dns round robin (few A records in dns) you can only balance cpu usage between two or more servers. But when one server is down then 50% or more ppl wont be able to access working server. And when you change dns records it will take time, because there is wrong A record in their dns cache.

    No doubt it is possible to redirect ppl using php header() to working server but this requre a redirection site at some server - that have same change of breakdown ;)

    So there is no way to FULL redundancy. If you are scared about some server going down then you probably should lower TTL in your dns records so records in dns caches will change quicly on change. You can also make program that will delete invalid dns A records as soon as something will be wrong. And making round robin entries will reduce number of ppl that get site down (50% for two servers, 33% for 3 servers)

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice