Question

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

Posted December 6, 2019 251 views
DigitalOcean Accounts

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 :)

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

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

Submit an Answer