How to fix a corrupted named.conf in cPanel server

Sometimes named.conf gets corrupted on cPanel server. Here is the way to fix that in cpanel servers. First of all move the corrupted named.conf using the following command:

mv /etc/named.conf /etc/named.conf.bak

Now simply execute the cpanel script to rebuild the named.conf


And restart the named service:

/etc/init.d/named restart

All should be fine again.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix IP Missing issue on cPanel/WHM

We are here to help you with solving the problem of Missing IP Server in list accounts. The...

Domain names are not showing in WHM

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...

How to Start/Stop or Restart Apache server

Apache is the HTTP server that is freely available over the internet. It is a kind of software or...

How to install Attracta SEO Tools plugin

RequirementscPanel/WHM needs to be installed on your server. Step 1: SSH into your server and go...

How to Install CpCleaner in cPanel through SSH?

Installation Run the following shell commands as root via SSH: wget -O cpc-1.0.3.tar...