Report this

What is the reason for this report?

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

Posted on February 4, 2017

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?



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.

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

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

@asnair

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.

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.