yyrcat

Registered
Jun 5, 2017
3
0
1
Fort Worth
cPanel Access Level
Root Administrator
Hello,
I've added subdomain through cPanel (such as dev.example.com). It created specific A record for this subdomain(with the same IP address with main domain ). The problem is the subdomain seems doesn't resolve. I tracked the DNS and found out it only returned a SOA record not the A record with IP address. What's the problem? Thanks a lot!
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
160
168
New Jersey
cPanel Access Level
DataCenter Provider
Are you sure that cPanel server is controlling your domains DNS?

One easy way to tell is by clicking the "Authentication" icon under email, look for a warning that the system cannot verify the server as an authoritative nameserver for said domain.

You might be using your registrar to host the DNS records or an external service like CloudFlare for example, in which case you would need to add the A Record there.

If you are positive the nameservers you are using do control the DNS for your cPanel account's domain then you may want to go into the Zone Editor and ensure the record is there. If it is then you can try reloading bind as it may push the changes in case they weren't for whatever reason.

You could also just be seeing DNS propagation taking place and its not updating for you yet. Use a tool like this:

Global DNS Propagation Checker - What's My DNS?
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,
I've added subdomain through cPanel (such as dev.example.com). It created specific A record for this subdomain(with the same IP address with main domain ). The problem is the subdomain seems doesn't resolve. I tracked the DNS and found out it only returned a SOA record not the A record with IP address. What's the problem? Thanks a lot!
When you add a subdomain through cPanel, a subsequent DNS entry for the subdomain is also added by default and does not need it to be added separately..

Anyways, you said that the subdomain does not resolve, so the thing is definitely with DNS. Since subdomain relies on the main domain for initial DNS query, you have to first make sure what DNS nameservers you are using on your main domain. If your main domain is using different third party nameservers, then you no matter how much DNS records you add on your server, it will not work, you have to make sure that the DNS records are updated on the server where your nameservers are hosted..

If you are using domain registrars nameservers, then domain registrar may have provided you with the panel to create the DNS zone..

Check it once..
 

yyrcat

Registered
Jun 5, 2017
3
0
1
Fort Worth
cPanel Access Level
Root Administrator
Are you sure that cPanel server is controlling your domains DNS?

One easy way to tell is by clicking the "Authentication" icon under email, look for a warning that the system cannot verify the server as an authoritative nameserver for said domain.

You might be using your registrar to host the DNS records or an external service like CloudFlare for example, in which case you would need to add the A Record there.

If you are positive the nameservers you are using do control the DNS for your cPanel account's domain then you may want to go into the Zone Editor and ensure the record is there. If it is then you can try reloading bind as it may push the changes in case they weren't for whatever reason.

You could also just be seeing DNS propagation taking place and its not updating for you yet. Use a tool like this:

Global DNS Propagation Checker - What's My DNS?
Thanks for replying! But I can't find the "Authentication" icon under email? where's it ? Thanks!

When you add a subdomain through cPanel, a subsequent DNS entry for the subdomain is also added by default and does not need it to be added separately..

Anyways, you said that the subdomain does not resolve, so the thing is definitely with DNS. Since subdomain relies on the main domain for initial DNS query, you have to first make sure what DNS nameservers you are using on your main domain. If your main domain is using different third party nameservers, then you no matter how much DNS records you add on your server, it will not work, you have to make sure that the DNS records are updated on the server where your nameservers are hosted..

If you are using domain registrars nameservers, then domain registrar may have provided you with the panel to create the DNS zone..

Check it once..
Thanks for replying! I find out the nameserver is like XX.manage.myhosting.com. So now should I go to myhosting.com to add the subdomain name or any other solution? Thanks!
 
Last edited by a moderator:

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
160
168
New Jersey
cPanel Access Level
DataCenter Provider
Thanks for replying! But I can't find the "Authentication" icon under email? where's it ? Thanks!
Which theme are you using? Example, paper_lantern basic:

upload_2017-6-6_5-7-29.png

Thanks for replying! I find out the nameserver is like XX.manage.myhosting.com. So now should I go to myhosting.com to add the subdomain name or any other solution? Thanks!
Probably a better question for your host since I wouldn't be able to tell you whether or not those nameservers are the ones cPanel uses to control your domains host records.
 

yyrcat

Registered
Jun 5, 2017
3
0
1
Fort Worth
cPanel Access Level
Root Administrator
Which theme are you using? Example, paper_lantern basic:

View attachment 47283



Probably a better question for your host since I wouldn't be able to tell you whether or not those nameservers are the ones cPanel uses to control your domains host records.
Thanks a lot! I find the warning--" cPanel is unable to verify that this server is an authoritative nameserver for example.com"....Maybe I need to contact the administrator, thanks!
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
160
168
New Jersey
cPanel Access Level
DataCenter Provider
You need to either find out the correct nameservers or find out where the DNS is being hosted so you can update the host records there. Good luck!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Thanks for replying! I find out the nameserver is like XX.manage.myhosting.com. So now should I go to myhosting.com to add the subdomain name or any other solution? Thanks!
Hello,

Yes, you'd need to setup the "A" record pointing to the IP address of the cPanel account at your domain registrar or through the company that manages the DNS for this domain name.

Thanks!