Learn Docker With My Newest Course

Dive into Docker takes you from "What is Docker?" to confidently applying Docker to your own projects. It's packed with best practices and examples. Start Learning Docker →

How to Transfer a Domain Name with Zero Downtime

blog/cards/how-to-transfer-a-domain-name-with-zero-downtime.jpg

Chances are you'll eventually move a domain name from one registrar to another. Here's two ways to do it with no downtime.

Quick Jump: The Zero Downtime Strategy | The Domain Transfer Process | When It's Done

In a previous article I talked about moving some of my domains from internet.bs to Namesilo.

That article talked about why I made the move and how I was going to transfer my main domain name (nickjanetakis.com) once it was about to expire. That time has come.

This article will go over how I transferred my domain name with zero downtime which was very important to me because my entire business depends on that domain resolving.

Not only for serving this blog, but it’s also where my course platform is hosted from on a separate sub-domain.

The Zero Downtime Strategy

In order to get zero downtime in a reliable way you’ll want to change your DNS records to use your hosting provider’s nameservers. If that’s not possible, you could also use your new registrar’s nameservers if they allow you to set up your DNS records and use their nameservers before the transfer completes.

1. I recommend using your hosting provider’s nameservers:

For example Digital Ocean offers free DNS hosting and DNS record management. I use them for all of my sites.

The general idea is you could create DNS records for your domain on your hosting provider’s site about 48 hours before you decide you want to transfer your domain name. That will give ample time for DNS servers around the world to catch up.

At the same time you’ll have duplicate DNS records on your old registrar, but you’ll update your domain’s nameservers to point to your hosting provider. After about 48 hours all requests will go through your hosting provider’s nameservers.

Now are you are in a great position and are ready to proceed with transferring your domain.

2. If that’s not possible then use your new registrar’s nameservers:

Some domain registrars like Namesilo are really cool about this. They will let you use their nameservers and pre-configure your DNS records before your transfer is complete. We’ll talk more about this pre-configuration step later.

If your new registrar doesn’t offer that, then consider looking into using a better registrar!

At this point you should do one of the above steps. Once complete, you’ll be ready to continue onwards and go through with the domain transfer.

The Domain Transfer Process

There’s a few things you need to do on both the old and new registrar.

Steps to Take on Your OLD Registrar (Part 1)

  1. Make sure the email address on your WHOIS contact details is up to date. Go check it out and make sure you can receive email from the address you have on file.

  2. Optionally disable WHOIS privacy. Some registrars will transfer domains with it enabled, so double check with them. If you do keep WHOIS privacy enabled then make sure you can accept emails from the private email address.

  3. Get your EEP auth code from your registrar’s dashboard. It’s likely going to be an option under your domain’s management section. It’s a string of characters.

  4. In your domain management dashboard unlock the domain.

Steps to Take on Your NEW Registrar

  1. Find the transfer domain option on your new registrar. Here’s the link for Namesilo since I happen to use them.

  2. Enter in your domain name to transfer, followed by the EEP auth code from the old registrar whenever they prompt you for it.

  3. You should receive an email at your WHOIS contact email address where you’ll be expected to click a link to initiate the transfer.

Does your new registrar allow you to pre-configure anything?

For example Namesilo will let you pre-configure a few things about your domain to be transferred before it’s been transferred. This is a really handy feature!

When it comes to transferring DNS records, here’s the options they allow:

  • Make no changes to your DNS records, in which case it will use your current DNS records as soon as the transfer is complete. If you’re using your hosting provider’s nameservers this is what you’ll want to do.

  • They will attempt to clone and import your old registrar’s DNS records and set them up for you while also giving you the option to double check and modify everything. If you’re using your new registrar’s nameservers you’ll want to set this up.

  • Auto-forward (301 redirect) the domain to another domain name.

  • Set up a domain parking page.

They also let you enable or disable WHOIS privacy and edit your WHOIS contact details.

When the domain transfer is complete all of these settings will take place immediately!

Steps to Take on Your OLD Registrar (Part 2)

Now that you’ve initiated the transfer it’s up to them to accept it. You have a couple of options here. You could do nothing and wait and this could take anywhere from a few minutes to 7 days depending on how user friendly your old registrar is.

A list of outcomes for your domain transfer:
  • In the absolute worst case scenario the request will be rejected and your domain transfer will fail. You’ll have to contact your old registrar and ask them why.

  • In the 2nd to worst case scenario it will take 7 days for the transfer to go through without any user intervention on your part because your old registrar ignored the request (this is the default behavior to auto-transfer after 7 days).

  • In a nearly best case scenario you could send them a support email asking if they could accept the transfer because its state is currently “Pending at Registry” which means it’s waiting for them to accept your transfer request.

  • In the best case scenario you’ll go AFK for a few minutes and by the time you’re back it’ll be complete.

When your old registrar accepts the transfer you’ll get a transfer confirmation from your old registrar, new registrar or both registrars. It really depends on who you’re using.

If you’re curious, the entire process took about 3 hours when I moved this domain name from internet.bs to Namesilo. I went with the approach of contacting internet.bs’ support to let them know the domain was ready to be transferred and after a few friendly back and forth e-mails it was all done.

When It’s Done

You’ll want to double check everything on your new registrar to make sure your name servers are pointing to the correct place, you have WHOIS privacy enabled (if available) and that you set up any e-mail forwarding addresses you may have had on your old registrar.

When it comes to e-mail forwarding you’ll want to update your DNS records to use your new registrar’s MX records instead of your old registrar’s MX records.

Did you transfer your domain? Let me know how it went below!

Never Miss a Tip, Trick or Tutorial

Like you, I'm super protective of my inbox, so don't worry about getting spammed. You can expect a few emails per month (at most), and you can 1-click unsubscribe at any time. See what else you'll get too.


Comments