A DNS entry for ‘yourdomain.tld’ already exists. You must remove this DNS entry from all servers in the DNS cluster to proceed.
How can we solve this?
- First make sure the domain which you are trying to add the addon domain should not present as addon/parked(aliases)/sub-domain on the same server.
- If the above is not the case then check the DNS entry in DNS zone file. You will need root SSH access for it. SSH to server and check the below file /var/named/yourdomain.tld.db
- If you find an entry of this domain then you can remove the DNS entry using the following cPanel script:
/scripts/killdns yourdomain.tld
Keep in mind that you might have to check on other servers in the same DNS Cluster.
Note
Be on the safe side and create a backup of this DNS Zone file before making any changes using something like that:
cp -rp /var/named/yourdomain.tld.db /var/named/yourdomain.tld.db_backup