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 asdcxz@1239, Mar 26, 2019.

  1. asdcxz@1239

    asdcxz@1239 Member

    Joined:
    Aug 6, 2018
    Messages:
    13
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    india
    cPanel Access Level:
    Root Administrator
    Hi,

    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

    Joined:
    Apr 8, 2003
    Messages:
    1,367
    Likes Received:
    152
    Trophy Points:
    193
    Location:
    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 dyn.com does that.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,009
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. WorkinOnIt

    WorkinOnIt Well-Known Member

    Joined:
    Aug 3, 2016
    Messages:
    161
    Likes Received:
    13
    Trophy Points:
    18
    Location:
    UK
    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.
     
Loading...

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