Skip to content

cPanel Domain Does Not Use the DNS Servers Error

cPanel, by default, is configured in WHM to prevent adding domains that are not currently resolving to the server. That can mean the domain is using a service such as Cloudflare, or that the domain is currently pointed to another server. You will encounter the following error when remote domains are not allowed.

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. To do this, use WHM’s Configure Remote Service IPs interface.

You can allow cPanel accounts to add domains that don’t use the DNS servers or resolve to the server by enabling Allow Remote Domains under Tweak Settings in WHM.

  1. Log in to WHM as the root user.
  2. Navigate to Tweak Settings.
  3. Find the Allow Remote Domains setting under the Domains section and enable it.
  4. Click Save to apply the changes.

You can also enable this setting as root through SSH or console:

Terminal window
whmapi1 set_tweaksetting key=allowremotedomains value=1
---
metadata:
command: set_tweaksetting
reason: OK
result: 1
version: 1

This command sets the allowremotedomains tweak setting to 1 (enabled).