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

Posted December 6, 2019 2.7k 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.

Submit an Answer
3 answers

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

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 - Better DigitalOcean Backups

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.

  • Maybe things have changed since then, but I think I ended up doing it manually by hand;

    • delete the domain from account A.
    • as quickly as possible create the domain with all the records on account b.
    • cross my fingers and hope nothing fell through any cracks.

    Not the best, easiest or most elegant, but rather the only solution (at the time) :(

    • I ended up doing it all of it manually. I was more afraid for the MX records then the A as I would have lost email support as well as ability to 2FA into my DigitalOcean account since I receive email verification codes. It all worked on 1st try, but it was a scary prospect.