imorse

Registered
Feb 8, 2014
2
0
1
cPanel Access Level
Root Administrator
Hi,

I have installed CPanel VPS Optimized and WHM on a VPS and have set up two nameservers using two unused addresses at Namecheap and in WHM and assigned them IP addresses and A entries in WHM. However, the Nameserver IPs screen shows "No IP" and so does /var/cpanel/nameserverips.yaml. The main domain on an account works, but I cannot add an addon domain due to this error - "Using nameservers with the following IPs: 50.31.103.XXX,50.31.103.XXX Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver." If someone could point me as to what I am doing wrong, that would be much appreciated. I have attached some screenshots below as to what I am seeing.
 

Attachments

markhard

Well-Known Member
Apr 22, 2004
252
0
166
you have to point the nameserver of your addon domain to your nameserver on the VPS
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
Hello :)

The functionality of the "Nameserver IPs" page is for visual purposes only. It is a report, and not a page meant to configure any aspect of DNS. It reports the nameservers used by DNS zones on the server, as well as a count of the the number of zones that use a given nameserver. The important entries on the cPanel server are the "A" records that you have added for your name servers. Thus, as long as you have registered these name servers to the matching IP addresses at the domain registrar, then no further DNS configuration is required. The "Nameserver IPs" page can include cached data, so you can safely ignore any mentions of "No IP" or a different IP on that page as it may take some time before it updates. Note that cPanel version 11.42 introduces the "NS Record Report" option in place of the "Nameserver IP's" option.

As for the Addon domain name, make sure it's name servers assigned at the registrar are name servers associated with IP addresses added to the cPanel server. If you are using your domain registrar's name servers, then you must temporarily enable the following option under the "Domains" tab in "WHM Home » Server Configuration » Tweak Settings":

"Allow Remote Domains"

Thank you.