VPS WHM/cPanel Addon Domains - Nameservers? DNS?

cvsouth

Member
Nov 4, 2013
11
0
1
cPanel Access Level
Root Administrator
Hi

I have a CentOS 6 VPS with WHM/cPanel and am trying to create addon domains with cPanel, but I get this error:

Using nameservers with the following IPs: 178.79.188.51,93.95.224.53,93.95.224.25 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 company I hire the VPS from also has a DNS control panel. I created default entries for my primary domain name, and that works great. It's the add-on domains I can't get to work. From the domain provider I set the domain's nameservers to be the ones for the VPS host. I've tried everything I can think of to get it to work.

Is anyone able to interpret the error message and/or any possible solutions?
 

ravi9

Well-Known Member
Oct 31, 2013
65
1
6
India
cPanel Access Level
Website Owner
Home >> Server Configuration >>Tweak Settings >> Domains >> Allow Remote Domains
Set this option to ON

Save configuration.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Enabling "Allow Remote Domains" is not recommended. Per it's description:

"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."

You should create and utilize your own private name servers instead of the ones provided by your VPS hosting provider. This will ensure the domain names are addable through cPanel.

Thank you.
 

ravi9

Well-Known Member
Oct 31, 2013
65
1
6
India
cPanel Access Level
Website Owner
Its recommended to turn off Remote Domains as suggested by @cPanelMichael
So, after adding the addon domain name, set it back to Off
 

ravi9

Well-Known Member
Oct 31, 2013
65
1
6
India
cPanel Access Level
Website Owner
You should create and utilize your own private name servers instead of the ones provided by your VPS hosting provider. This will ensure the domain names are addable through cPanel.

Thank you.
I have few question.
1) Is own private nameserver going to use some CPU and memory and increase server load?
2) Suppose I have two IPs on my server, 1.1.1.1 and 2.2.2.2
Is there any cPanel documentation to create nameserver on my server.

I know, after creating nameserver on server, I will need to create private nameserver in my domain control panel also.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
You really only need to add the "A" records for your name servers on the cPanel server. Then, setup the name servers at your registrar and ensure the default name servers for new accounts are correctly configured in "WHM >> Basic cPanel & WHM Setup".

Thank you.
 

ravi9

Well-Known Member
Oct 31, 2013
65
1
6
India
cPanel Access Level
Website Owner
You really only need to add the "A" records for your name servers on the cPanel server. Then, setup the name servers at your registrar and ensure the default name servers for new accounts are correctly configured in "WHM >> Basic cPanel & WHM Setup".

Thank you.
Thank you for clearing my doubt.
I was little confused that I may also need to edit /etc/nameserverips

Can you please clear my another doubt related to private nameserver.
Will using own private nameserver increase any server load.
Is it recommended to use on a small memory VPS like say 2 GB.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Can you please clear my another doubt related to private nameserver.
Will using own private nameserver increase any server load.
Is it recommended to use on a small memory VPS like say 2 GB.
It's highly unlikely you will notice any load or usage difference when using your VPS to handle the DNS for your domain names.

Thank you.