Adding a new domain to the server fails with the error:
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.
This error occurs when the domain you are adding points to a remote host not associated with the server.
There are three workarounds for this issue:
1. Update the domain registrar to point the domain to nameservers that are already pointed at the server (see: How to configure nameservers in a cPanel & WHM server).
2. Log in to WHM and navigate to "Remote Name Server IPs", then 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 dig utility, for example:
[root@server]# dig +short NS example.com a.iana-servers.net. b.iana-servers.net.
[root@server]# dig +short a.iana-servers.net 18.104.22.168
In the above case, enter "22.214.171.124" in the box, then select Save.
3. [Not Recommended] Allow remote domains in general. Enable the Allow remote domains option in WHM before creating an addon domain that is considered "remote". To do so:
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: