• Home
  • WordPress
  • Hosting
    • Budget Hosting
    • Business Hosting
    • Email Hosting
    • Reseller Hosting
  • Domain
    • Domain Pricing
  • Servers
    • Dedicated Servers
    • Vps Servers
  • Security
    • SSLs
      • Domain Validation SSL
      • Extended Validation SSL
      • Organization Validation SSL
      • Wildcard SSL
    • Fix Hacked Website
xoftmade-logo xoftmade-logo
  • Home
  • WordPress
  • Hosting
    • Budget Hosting
    • Business Hosting
    • Email Hosting
    • Reseller Hosting
  • Domain
    • Domain Pricing
  • Servers
    • Dedicated Servers
    • Vps Servers
  • Security
    • SSLs
      • Domain Validation SSL
      • Extended Validation SSL
      • Organization Validation SSL
      • Wildcard SSL
    • Fix Hacked Website
Client Area

DNS entry for domain already exists cPanel Server Error

by xoftmade
September 25, 2024
cPanel

ERROR: “A DNS entry for domain already exists, You must remove this DNS entry from all servers in the dns cluster to proceed.”

When server already contain a dns record / zone file against the same domain you are trying to host, then you will get this error.

Main Reasons:

1. Incomplete termination:
Most Common reason is when you terminate a cpanel account and it somehow not terminated properly and contain the dns records in server. Its possible due to some software bug or process crashes.

2. Keep the DNS zone:
There is an option (Keep DNS Zone) inside termination section, so when you terminate an account via WHM you can enable or disable that option. If enabled this option then you will face that error while creating the hosting again.

Solution:

1. Most popular solution is to go (Delete a DNS Zone) inside WHM panel and find that zone record. if it exists there then simply delete it. After deletion you will be able to create hosting as normal.

OR

2. In some cases you will be surprised to see that there is no record inside whm panel so there is another way to do so but its from SSH panel. Go to SSH by root user and edit file (/etc/named) inside that file you have to find the domain, it must be there. Just remove that part of the record and its done.

Example of the domain find result inside /etc/named file:

zone “domain.com” {
type master;
file “/var/named/domain.com.db”;
};

You have to remove these 04 lines and save the named file. After saving you can now create you hosting as normal.

OR

3. Login to SSH by root user and run this command to remove all dns records associated with that domain name:

/scripts/killdns domain.com

(Replace domain.com with actual domain name)

Tags: cpanel errorcpanel hostingrestart dns servicerestart service
Share:

Recent Posts

  • Critical cPanel & WHM Authentication Flaw Allows Remote Takeover – Patch Now
  • Now SSLs will Expire in Just 200 Days why!
  • How to disable alt-php binaries from cPanel MultiPHP Manager
  • How to enable or disable root user login in Linux Servers?
  • How to install CSF Firewall when Configserver closed the firewall

Recent Comments

No comments to show.
xoftmade-logo
P50 Plaza, 2nd Floor, Chenab Market, Susan Road, Faisalabad
+92 311 4991414

sales@xoftmade.com

Hosting
  • Managed WordPress Hosting
  • Budget Hosting
  • Business Hosting
  • Email Hosting
  • Reseller Hosting
Company
  • About
  • Blog
  • Affiliate Marketing
  • Terms of Service
  • Contact
Domains
  • Domain Search
  • Domain Pricing
  • WHOIS Lookup
Join Our Newsletter

We’ll send you news and offers.

Social Media
Facebook-f Instagram
© All Rights Reserved - Xoftmade Web Solutions