after migrating to another location, the A record of both the droplets point to same domain name. Which gets priority?

after migrating to another location, the A record of both the droplets point to same domain name (while the IP of the new site is under propagation). Which gets priority after propagation is complete?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


When it comes to migration, the ideal scenario would be that you migrate the data from one Droplet to another and then change your DNS.

You don’t want to setup two A entries for the same domain that point to two different IP’s – you want to swap the current IP with the new and allow the other to resolve.

You can, of course, shutdown the old Droplet, though that doesn’t force the DNS to resolve faster. It will, however, eliminate the potential for visitors that come to your website from potentially hitting the old server.

In most cases, once your DNS is setup (i.e. initial setup of name servers for your domain), changes such as new IP’s and new entries resolve rather quickly.

Should I have to power off the old droplet while the new ip is propagating (and reluctantly accept the site downtime in the meanwhile)?

Do you mean the PTR record? Because that’s not what decides where a domain goes.