UnderHost
Knowledgebase Docs

How to change your domain's nameservers

Change the nameservers of a domain registered with UnderHost from CustomerPanel (Domains → My Domains → Nameservers), or at another registrar. Which nameservers to use, how long it takes, and how to check it worked.

On this page

Nameservers decide which DNS service answers for your domain. Changing them moves the whole domain (website, email, everything) to the DNS of the new provider, so copy your records there first when the domain is already in use.

Which nameservers to use

You want the domain to use...Nameservers
UnderDNS (records managed in CustomerPanel)ns1.underdns.net
ns2.underdns.net
An UnderHost hosting plan (cPanel / DirectAdmin)The nameservers in your welcome email or under the service in CustomerPanel. See What nameservers should I use?
Cloudflare or another DNS providerThe two nameservers that provider assigns to your domain
Moving to UnderDNS? Use the DNS Management page

For domains registered with UnderHost, the domain's DNS Management page copies your records to UnderDNS first and then switches the nameservers for you. See How to move your domain's DNS to UnderDNS.

Domains registered with UnderHost

  1. Open your domains

    Log in to customerpanel.ca and go to Domains → My Domains.

  2. Open the Nameservers tab

    Click the domain, then Nameservers (in the domain menu: Manage Nameservers).

  3. Enter the new nameservers

    Select Use custom nameservers (enter below) and type the nameservers, one per field. Two are required; leave unused fields empty. To go back to UnderHost's defaults, select Use default nameservers.

  4. Save

    Click Change Nameservers. The change is sent to the registry straight away; you will see a confirmation, or an error message explaining what to fix.

Domains registered elsewhere

The change is made where the domain is registered (GoDaddy, Namecheap, Porkbun, OVH, etc.). The menu names differ but the steps are the same:

  1. Log in to the registrar

    Open the domain's management page.

  2. Find the nameserver setting

    Look for Nameservers, DNS or Domain settings, and choose custom nameservers instead of the registrar's default DNS.

  3. Replace the nameservers

    Remove the old ones and enter the new ones, for example ns1.underdns.net and ns2.underdns.net. Save.

Check that it worked

  • The registry usually updates within minutes; networks around the world follow within a few hours, sometimes up to 24–48 hours. See What is DNS propagation?
  • Check the NS records with the free DNS Propagation Checker, or from a terminal:
terminal
dig NS example.com +short
# Windows
nslookup -type=NS example.com

If the change fails

Message or symptomWhat to do
Invalid nameserver / host not foundCheck the spelling. The nameserver must already exist and resolve; private nameservers (ns1.yourdomain.com) need glue records first, see private nameservers
Domain is locked or in a pending stateChanges are blocked while a transfer, renewal or registry hold is in progress. Wait for it to finish or open a ticket
Domain expiredRenew it first: How to renew your domain name
Saved, but the website still shows the old siteNormal during propagation. Clear your browser and DNS cache, and check that the new DNS has the right A record

Related: What nameservers should I use for UnderHost? | What is UnderDNS? | What is DNS propagation? | How to configure DNS for your domain

Was this article helpful?

Not sure which nameservers to use?

Open a ticket with the domain name and the service it should point to, and we will tell you the exact nameservers.

Related articles

Back to Domains & DNS