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.
Error Message
Section titled “Error Message”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.Solution
Section titled “Solution”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.
WHM Method
Section titled “WHM Method”- Log in to WHM as the root user.
- Navigate to Tweak Settings.
- Find the Allow Remote Domains setting under the Domains section and enable it.
- Click Save to apply the changes.
SSH / Console Method
Section titled “SSH / Console Method”You can also enable this setting as root through SSH or console:
Command
Section titled “Command”whmapi1 set_tweaksetting key=allowremotedomains value=1Output
Section titled “Output”---metadata: command: set_tweaksetting reason: OK result: 1 version: 1This command sets the allowremotedomains tweak setting to 1 (enabled).