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!

Multiple servers same domain data

Discussion in 'General Discussion' started by [email protected], Mar 26, 2019.

  1. asdcxz@1239

    [email protected] Member

    Aug 6, 2018
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Just need small info is that possible or not regarding multiple location server.

    I had a server in germany usa and india, installed cpanel

    Is there a possibility that a person from usa can access the site for usa server and german from germany and india from india

    If one server is down due to some issue can i all the domain be loaded from the second server.

    Could the data can be synced with all the servers.

    Sorry it may be a weird questions just need to know to set it up

    Thank you
  2. GOT

    GOT Get Proactive! PartnerNOC

    Apr 8, 2003
    Likes Received:
    Trophy Points:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    You're going to face some big challenges with this

    The good news is that syncing your public_html folders between servers is pretty easy However the good news stops there.

    You're going to face some challenges if your application needs a mysql database. You cannot simply set up a file sync. You'll need to multi master cluster and these are challenging to set up and maintain. You'll need to look into mysql clustering and generally you have to use special tables for this as myriam and innodb do not work for these purposes.

    You also will have to think about sessin data if your site uses php sessions as most do. You'll need to set up a memcache cluster for this.

    The DNS is pretty easily solved by using a service that supports geolocation resolution. Pretty sure does that.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello @[email protected],

    Replication/High Availability isn't supported as a cPanel & WHM feature at this time, but I encourage you to review the following feature requests and vote/add feedback:

    Server configuration and data auto-sync (mirroring)
    Active-Active Redundancy or High-availability
    Built-in load balancing, replication, high availability

    Also, you can review the comments sections on these feature requests to see examples of how other users are implementing custom setups.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. WorkinOnIt

    WorkinOnIt Well-Known Member

    Aug 3, 2016
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Sadly cPanel doesn't support Load Balancing or High Availability (yet - though it's been requested for many many years....)

    At the moment, you have limited choices - all outside of the cPanel system;

    1) Find a data centre / provider that can offer you reliable high uptime / managed service with failover.

    2) Investigate setting this up yourself, though it's not for the faint hearted!! this link may help...
    How do you automate failover on EC2?
    Designing Failover Architectures on EC2 - RightScale Technical Support

    3) You could also try a CDN to reduce potential downtime e.g. Cloudflare to serve cached sites/ data regardless of how far they are from your server and "always online" service.
    Keep Your Website Always Online | Cloudflare

    It would be nice if there were other reliable options coming out of cPanel.
    cPanelMichael likes this.

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