Changed hostname and main ip in cPanel but old hostname still has a dns zone

dibello

Member
Oct 6, 2013
22
0
51
cPanel Access Level
Root Administrator
greetings,

I changed hostname and main ip in cPanel. New hostname does not have a dns zone but the old hostname does. On the Add A Record page, the new hostname is listed but with the old main IP and I can't change it.

I am basically a designer with OCD for detail and numbers. So my questions may be academic or just stupid.

1. Should I keep the old hostname dns zone and just edit it with correct info for the new hostname?
 

quietFinn

Well-Known Member
Feb 4, 2006
2,034
545
493
Finland
cPanel Access Level
Root Administrator
Server's hostname does not have to have it's own zone file, it's enough that there is an A record for it.
If server's hostname is server.yourdomain.com then you can have an A record for server in the DNS zone of the domain yourdomain.com.
 
  • Like
Reactions: gix0970

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

Yes, check to see if the "A" record is added to the parent domain names DNS zone. Also, yes, it's safe to remove the DNS zone for the old hostname.

Thank you.