Tag Archives: whm

Nameserver IPs not showing in WHM?

Hi everyone, I have faced with a Nameserver Ips issue, thats my “Nameserver IPs” section won’t show ips in WHM. All ips are present in /etc/nameserverips file but still ips missing.

So How to fix that? i found a solution and want to share again with you, hope this tip will be helpful. Please follow the steps:

– Firstly, check the entries in /etc/nameserverips file, it should look like the below command output

root@root[~]# cat /etc/nameserverips
198.168.0.1=ns1.test.com
198.168.0.2=ns2.test.com

In that case correct ips entry in the following /var/cpanel/nameserverips.yaml file.

/var/cpanel/nameserverips.yaml entries should be like this:

root@root [~]# cat /var/cpanel/nameserverips.yaml
—
ns1.test.com:
“198.168.0.1″: 1
count: 1
zones: test.com
ns2,.test.com:
198.168.0.2: 1
count: 1
zones: test.com

If your files are not showing properly, so you should edit those files following the examples above.

nano /etc/nameserverips
nano /var/cpanel/nameserverips.yaml

Now, go to your WHM and check Nameserver Ips section, your ips should be there 🙂

Thank you

Setting up Private Nameservers in Cpanel

We’ll show you the ropes in how to setup cpanel nameservers and configure them properly so you can run ns1 and ns2.yoursite.com
This guide will show you the ropes in how to setup cpanel nameservers and configure them properly so you can run ns1 and ns2.yoursite.com. Once your nameservers are setup clients can then use your own private nameservers for their domains.

1. Regiser your domain

Register the domain name you would like to use.This domain will be used as your nameservers – eg ns1.yourdomain.com and ns2.yourdomain.com

2. Additional IPs

Have 2 available IP addresses for your server that aren’t in use.You will need to contact you provider to obtain these IP addreses.

3. Registering the Nameservers

Now login to your domain management page for the domain you registered and register ns1.newdomain.com and ns2.newdomain.com as nameservers (registries normally have a special facility for doing that). The registry may also have a facility to propogate these nameservers around the foreign registries – if so, you should use this facility.
These registrations may take a few days to propagate (often as many as 3 days).

Continue reading Setting up Private Nameservers in Cpanel