Skip to main content

Multiple servers same domain data

Comments

3 comments

  • GOT
    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.
    0
  • cPanelMichael
    Hello @asdcxz@1239, 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: Active-Active Redundancy or High-availability
    0
  • WorkinOnIt
    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.
    0

Please sign in to leave a comment.