Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Running the same site across 2 servers in different loactions
I am launching a new site and we are expecting a lot of traffic across the US as its a new version of our current one. We currently use a single server in New York for web and DB.
However I would like to have 2, now ideally I would like to have one the other side of the USA which digital ocean provides. But I am not sure how I would be able to distribute traffic between two web servers with the same domain name.
I am happy enough with ensuring that both are always in sync I have a pretty good plan for that. But making sure that someone close to one server gets a response from the nearest one not the other one
Is this at all possible, if it is how can I go about it. I currently have the single server as Ubuntu with VespaCP on top to run the site
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×