+234 814 007 4714 [email protected]
Domain Management

Changing Nameservers

What nameservers decide

Nameservers decide who answers DNS for your domain, and so where your DNS records live. A domain uses one of two setups:

Setup Where you manage DNS records Choose it when
NG Domain-managed DNS The DNS Records card on the domain's DNS tab in your NG Domain dashboard You want everything in one place, or you want DNSSEC from NG Domain
Custom nameservers Your DNS provider's dashboard, such as Cloudflare or your web host's control panel Your host asks you to use their nameservers, or you already manage DNS somewhere else

Only one setup is in effect at a time. Records you add in NG Domain do nothing while custom nameservers are in use, and the reverse is also true.

Check which setup you're on

  1. Sign in to your NG Domain dashboard and open My Domains.
  2. Click the domain, then open the DNS tab. The Nameservers card is at the top.

If it shows NG Domain Nameservers, NG Domain hosts your DNS, and you manage your records in the DNS Records card below it. The card lists the nameservers your domain was given. They're Cloudflare's: we host your DNS records with Cloudflare at no extra charge. You only need them if a service asks which nameservers your domain uses.

The Nameservers card on the DNS tab showing NG Domain Nameservers, the domain's two Cloudflare nameservers and a Switch to custom nameservers buttonThe Nameservers card on the DNS tab showing NG Domain Nameservers, the domain's two Cloudflare nameservers and a Switch to custom nameservers button

Otherwise you'll see the domain's current nameservers in a form. The Overview tab also says Managed by NG Domain, or lists the custom nameservers.

Use custom nameservers

Get the nameservers from your provider first. Cloudflare shows them when you add your domain, and web hosts list them in their setup instructions. They look like dina.ns.cloudflare.com or ns1.yourhost.com.

  1. In the Nameservers card, click Switch to custom nameservers if you see it. This takes effect straight away: your DNS records are no longer editable here. If the domain gets email through NG Domain DNS, you'll see a warning first. See If your domain has email below.
  2. Type the nameservers into Nameserver 1, Nameserver 2 and so on. Enter at least two. If your provider gave you more than three, click Add nameserver for each extra one, up to five. Type only the hostname, with no http:// and no trailing dot.
  3. Click Update nameservers.
The Nameservers card with two Cloudflare nameservers entered, an Update nameservers button and an Add nameserver buttonThe Nameservers card with two Cloudflare nameservers entered, an Update nameservers button and an Add nameserver button

You'll see Nameservers updated. Propagation may take up to 48 hours. Most networks pick up the change within a few hours.

Before you switch, recreate your records at the new provider: the A and CNAME records for your website, and the MX and TXT records for your email. Otherwise your site or email stops working once the new nameservers take over. Cloudflare copies your existing records when you add the domain. Our Cloudflare walkthrough goes through it step by step.

To move to a different provider later, replace the nameservers in the same form and click Update nameservers again.

If your domain has email

Custom nameservers don't use the records you keep at NG Domain, including the MX records that bring in your email. So if the domain has MX records here, Switch to custom nameservers first warns that email will stop working, and lists those records. Mail sent to the domain bounces or is lost until the same records are at your new provider.

Copy the records down and add them at the new provider. Then type SWITCH in the box and click Switch nameservers. Cancel leaves everything as it was.

The warning that email on the domain will stop working, listing its MX record, with SWITCH typed in the confirmation box and a red Switch nameservers buttonThe warning that email on the domain will stop working, listing its MX record, with SWITCH typed in the confirmation box and a red Switch nameservers button

Switch back to NG Domain DNS

  1. On the DNS tab, the DNS Records card says DNS is managed by your nameserver provider. Click Manage DNS records using NG Domain.
  2. Read the warning. Switching replaces the domain's nameservers with NG Domain's, so a website or email running on your current provider's records goes down until you add the same records here.
  3. Copy your records from your current provider, then click I've saved a copy, continue.
The Switch to NG Domain-managed DNS confirmation, warning that the switch replaces the domain's nameserversThe Switch to NG Domain-managed DNS confirmation, warning that the switch replaces the domain's nameservers

The Nameservers card then shows NG Domain Nameservers, and you can add your records in the DNS Records card below it. See Managing DNS Records.

Good to know

  • Set up the provider first. Add the domain at your new provider before you enter its nameservers here, so there's no gap where nothing answers for your domain.
  • Your developer can do this. If you've given someone developer access, they can change nameservers from their own account. Agree on it first, because it changes where every record lives.
  • Changes are logged. Each nameserver update appears in your Activity Log.

If your site is still down 48 hours after a change, contact support with the domain name and the nameservers you entered.