Report this

What is the reason for this report?

Hosting same website at different locations

Posted on October 11, 2018

Hi there,

Currently, I am hosting my website in my country (Southeast Asia) on my server and wish to replicate the website to US using DigitalOcean.

I am hoping from this implementation, US users (or Europe) will connect to this website instead for faster loading time (instead of my server), like geographical load balancing.

I believe some kind of DNS service may be needed to be used, and has read up on services such as GeoDNS, Amazon Route 53.

  1. Is this setup even possible or nontrivial?

  2. How should I handle the DNS service for the same domain?

  3. Are two web servers allowed to have the same domain (albeit different IP?)

  4. What would be the best way to replicate the site contents?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello,

Indeed as X40C mentioned Cloudflare is a very good fit for your needs.

You could spin up multiple Droplets in different regions and have your Domain name managed via Cloudflare. Then Cloudflare would allow you to do geographical load balancing and distribute the traffic among your Droplets in the different regions.

Best, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.