Error: “Account Creation Status: failed. Sorry, a DNS entry for domainname.com already exists, please delete it first (from all servers in the DNS cluster)”

When trying to add a new domain in WHM, you may get an error:

'error' theme=2]Account Creation Status: failed. Sorry, a DNS entry 
for domainname.com already exists, please delete it first 
(from all servers in the DNS cluster)

It means that a DNS zone file already exist for this domain. Just simply click to the “Delete a DNS Zone” weblink (in the WHM left-hand menu) and delete the  DNS zone for the domain name you are trying to add. After that you can reattempt the account creation.

Same thing you can perform through SSH, If you have a root access, Please follow the steps below:

Step1 : First of all made a backup of DNS zone of domain

cp -rp /var/named/domain.com.db /var/named/domain.com.db_back
Step2 : Execute the following cPanel script:

/scripts/killdns domain.com

That’s all! Now  try to add the domain again. It should be okay now .

You can also verify by running this command:

cat /var/cpanel/userdata/$user_name/main

Previously we have talk about another error: Account Creation Status: failed (Sorry, a MySQL user with the name test356 already exists.)Account Restore Failed. please check that and also give your opinion below if you experience any issues or to discuss your ideas and experiences.