Symptoms
Adding a new domain to the server fails with the error:
CONFIG_TEXT: This domain points to an IP address that does not use the DNS servers
associated with this server. Transfer the domain to this server's
nameservers at the domain's registrar or update your system to recognize
the current DNS servers.
Cause
This error occurs when the domain you are adding points to a remote host not associated with the server.
Resolution
There are three workarounds for this issue:
Update the domain registrar to point the domain to the nameservers that are already pointed to the cPanel server.
If you need to configure nameservers on the cPanel server, the following support article provides details on how to do so:
- Log in to WHM as
root - Navigate to Home / IP Functions / Configure Remote Service IPs
-
Enter one of the IP addresses that one of the domain's nameservers resolves to. You can use an online tool to look up the nameserver IP address, or the
digutility, for example:# dig +short NS domain.tld
ns1.domain.tld.
ns2.domain.tld.# dig +short ns1.domain.tld
203.0.113.2 - Click the Save button
Warning: It is best to only enable this setting temporarily to add the domain, then to disable it afterward. Refer to the description of the setting:
Allow creation of parked/addon domains that resolve to other servers (e.g. domain transfers) This can be a major security problem. If you must have it enabled, be sure not to allow users to park common Internet domains.
- Log in to WHM as
root - Navigate to Home / Server Configuration / Tweak Settings
- Enable the Allow remote domains option
-
Click the Save button
Comments
0 comments
Article is closed for comments.