Report this

What is the reason for this report?

How do I move a domain from one account to another?

Posted on December 6, 2019

I have a few domains on my account that I wish to move to another account. I am not talking about moving from one project to another (which seems easy enough), but rather completely letting go of a domain (dns) and move all the records to a new account.

I guess I could simply delete the domain on the old account, and then create it on the new. But since I can’t prepare the records on the new account, as it’s not possible to create the same domain on two accounts, there’s going to be some downtime?

Also for domains with lots of records, it’s going to be a hassle to create them by hand on the new account. I do see an option to download a zone, but not to import a zone. So what’s the point?

I am hoping for a solution.

Thank you :)



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.

Hey @MikkelHansen

We had the same issue when we moved to a Hatch Account,

We found no way to import a zone file so knocked together a script using the API https://developers.digitalocean.com/documentation/v2/#create-a-new-domain-record

To import the zone file one line at a time in order of importance. So a very unperfect solution but meant there was no human error and we had very minimal downtime.

Simon SnapShooter.io - Better DigitalOcean Backups

I create my own solution: https://github.com/grayfolk/digitalocean-api-shell Please, backup zones first!

I see this thread is 2 years old, but I want to do the same: move my domain from one account to another with the least possible down time. This is delicate since this domain has emails attached to it, including the one I use to log into Digital Ocean. I’m afraid to fail 2FA on a step here or there and then lock myself out of my own domain and emails.

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.