It seems the domains not properly removed from the server. First you have to remove the remaining entries of the domain from the server.
First : Check the DNS zone and delete the dns of the particular domain which you are trying to add.
Second : Look for the domain name in /var/cpanel/users, you can search the user file with the following command :
Quote:
|
grep -r <domain_name> /var/cpanel/users
|
Find and delete the entry from the user files, and run /scripts/updateuserdomains
also you need to check /var/cpanel/userdata in the same way you checked /var/cpanel/users, once you remove the entries from /var/cpanel/userdata then run /scripts/rebuildhttpconf to remove it from httpd.conf .
After finishing these steps, try to add the domain again.