Adding domain to Cpanel account

Adding domain to Cpanel account

During creation of Cpanel account in WHM a new domain is being created as a main account domain. Then needed subdomains could be easily created in Cpanel interface. There is corresponding subsection which is called Subdomains.

Sometimes there is need to create additional domains in the same Cpanel account(not subdomains of the main domain, but separate domains), which will be used for additional sites. This could be also easily done, Cpanel has a section for that – it is called Addon domains.


cpanel domains


But sometimes during creation of addon domain the error could appear:

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.

The thing is Cpanel thinks that the server where it lives should also act as a name server for the addon domain. That is this error could be solved by delegating the domain to Cpanel server. Another solution is to add at least one DNS server of the domain to WHM configuration. There is a section in WHM under WHM >> Home  >> IP Functions >> Configure Remote Service IPs which contains “Remote nameserver IP addresses” subsection.

And the simplest way to enable adding domain to Cpanel account is to use corresponding setting  Allow Remote Domains,  which sits under WHM >> Home >> Server Configuration >> Tweak Settings. But Cpanel recommends not to use this setting due to security reasons. And if someone decided to enable it then Cpanel recomends to enable Prevent cPanel users from creating specific domains option also, which is in the same section.


More details – in official documentation:

Напишите комментарий

Your email address will not be published. Required fields are marked *