By Anand Nair
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!
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)?
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.