Can I have two droplets located at the US and Europe that resolve the same domain? That would be very helpful for two main reasons:
Is this possible?
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.
The easy way to do this would be with something called “Round Robin DNS Load Balancing” Basically in your DNS setup, you have two entries for your website that point to both IP addresses. <br> <br>Example in BIND DNS config file: <br> <br>www.website.com. IN A 192.168.0.1 #US Address <br>www.website.com. IN A 192.168.0.2 # European Address <br> <br> <br>When someone accesses your website, the DNS server will respond with one of the two IPs. They will then use that IP for however long the TTL is (usually 4-6 hours). <br> <br>It won’t matter where in the world they are. If one of your servers goes down, half the people will get a website, and the other half will not. <br> <br>There are other options of load balancing, HAProxy, nginx, etc, but those are fairly complex setups.