[email protected]

Active Member
PartnerNOC
Aug 6, 2018
32
3
8
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
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,739
305
363
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
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.
 

WorkinOnIt

Well-Known Member
Aug 3, 2016
195
28
28
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.
 
  • Like
Reactions: cPanelMichael