Blog · WebJi® India

How to Find Nameservers in cPanel

Quick answer: Shared cPanel hosting usually does not print the nameserver pair on the dashboard. Read it from the welcome email, or run dig +short NS yourdomain.com to see the two servers the domain actually uses. Server Information shows the server name, which is a different value.
✓ In business since 2005✓ INR + GST billing✓ 24/7 Email Support — avg reply < 60 min
Focused Indian analyst studying analytics charts across two monitors — how to find nameservers in cpanel

What a nameserver pair is

Shared cPanel hosting usually does not print the nameserver pair on the dashboard. Read it from the welcome email, or run dig +short NS yourdomain.com to see the two servers the domain actually uses. Server Information shows the server name, which is a different value.

A nameserver answers DNS queries for your domain. Hosts publish two, ns1 and ns2, so one can fail without taking the site offline. Both usually point at the same server; the second name is for redundancy, not for a second machine.

Where cPanel shows them, and where it does not

Log in to cPanel for the hosting account and look at General Information, then Server Information. You will see Server Name, Shared IP Address and the MySQL version. That is the machine, not the nameserver pair.

The pair is in the account welcome email, in the format ns1.provider.com and ns2.provider.com. If that email is gone, ask support for the two names; they are not secret and do not change.

The fastest check: dig NS and whois

These commands show what the internet uses, which can differ from what a panel claims.

CommandOutput to read
dig +short NS example.comns1.example.com. and ns2.example.com., one per line
host -t NS example.comexample.com name server ns1.example.com.
whois example.comName Server: NS1.EXAMPLE.COM near the end of the record

The names above are placeholders; your domain returns its own pair. If dig returns nothing, the domain has no delegation and needs the registrar step below.

For WHM and resellers

WHM holds the pair under Server Configuration, then Basic WebHost Manager Setup. The two boxes near the bottom take ns1 and ns2 names, and Configure Address Records next to each one creates the A records.

The server file /etc/nameserverips maps each nameserver name to its IP, and /var/cpanel/nameserverips.yaml lists which zones use it. Individual cPanel accounts cannot set their own nameservers; only the server or a reseller can.

Point the domain at them at the registrar

The pair is set at the registrar, not in cPanel. In the registrar dashboard, choose custom nameservers and enter both hostnames. The change is saved at the registry, which is why it can take time to appear.

A private ns1 on your own domain also needs a glue record: register the hostname with its IP at the registrar before you use it. Skipping that produces the error "[ns1.example.com] doesn't exist at the registry" when you try to assign it.

Check propagation from two resolvers

Query two public resolvers and compare the answers. If both return the new pair, the change is live. If one still returns the old pair, its cache has not reached the TTL yet.

  • dig @1.1.1.1 +short NS example.com
  • dig @8.8.8.8 +short NS example.com
  • A TTL of 86400 means a cache may hold the old answer for a day.

The old answer is not a fault. It is a cache doing its job, and it expires on its own.

When cPanel and the registrar disagree

The registrar record wins. If cPanel lists a pair the registrar does not use, the domain still resolves to the old servers and edits in the cPanel Zone Editor do nothing.

Two errors point at that gap. "Mismatched NS records" means the parent and the zone disagree. "Missing nameservers reported by your nameservers" means the zone answers without the NS records it should publish. Both are fixed at the registrar or in the zone, not by re-saving the domain.

Once the pair is live, the domain IP lookup shows which server answers. If you are choosing where the domain lives, domain registration in India covers the registrar side, and cPanel hosting covers the account itself.

Support is by email at support@webji.services, 24/7 in Hindi and English, with an average first reply under 60 minutes. Send the domain and the dig output, not a screenshot.

Frequently Asked Questions

How do I find my nameservers in cPanel?

Shared cPanel usually does not list the pair on the dashboard. Check the welcome email, or run dig +short NS yourdomain.com to read the two servers the domain actually uses. Server Information shows the server name, which is a different value.

Where in cPanel are nameservers listed?

On a reseller or VPS server, WHM lists them under Server Configuration, then Basic WebHost Manager Setup. A single cPanel account cannot set its own nameservers, so the account dashboard has nothing to show.

How do I find nameservers without cPanel access?

Run dig +short NS yourdomain.com or whois yourdomain.com and read the Name Server lines. Both show the pair published at the registry, which is the one that matters.

How do I check nameservers with whois?

Run whois yourdomain.com and look for the Name Server lines, usually at the end of the record. The hostnames printed there are the delegated pair, regardless of what any panel says.

What if my domain uses different nameservers?

Then the registrar record wins. Either point the domain at the host's pair, or recreate the DNS records at the provider that holds the current nameservers. Editing the cPanel zone alone will not change where the domain resolves.

Why does my new nameserver say it does not exist at the registry?

Because a private ns1 on your own domain needs a glue record: register the hostname and its IP at the registrar before you use it. Without that, the registry has no address for the nameserver.

Need help with this?

WebJi® support does it for you — free. Talk to our Jaipur team →