Question

Pointing A record to to multiple droplets in different country/location, is this possible?

Posted May 4, 2019 289 views
UbuntuDigitalOcean

I have a static Wordpress website and hosted on a UK IP droplet.

My A record is configured to respond to TTL 3600 to my UK IP.

I am wondering if anyone tried to link multiple A records to different droplets in different countries?

Example:

Type: A, Hostname: mydomain.com, Value: MY UK IP, TTL: 3600
Type: A, Hostname: mydomain.com, Value: MY USA IP, TTL: 3600
Type: A, Hostname: mydomain.com, Value: MY SINGAPOREAN IP, TTL: 3600

So if I get a visitor from the USA, the website will load faster since the USA IP would respond faster, am I correct to imagine this scenario?

Has anyone else tried anything like this before? Does it work? If yes, what was your setup?

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.

×
1 answer

For this case you can use a Load Balancer. You set the A-Record to that and the load balancer distributes the load.

Submit an Answer