Unable to delete a no domain hosting account

moleno

Active Member
Jan 31, 2013
25
0
1
cPanel Access Level
Root Administrator
I am facing a strange issue. one of my client created a hosting account without domain. Now the problem is I am unable to terminate it.

every time it shows "not a valid domain" .

Any one please help me .
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello :)

Check the cPanel user file for this account:

Code:
# /var/cpanel/users/$username
Look for the "DNS=" line. It's likely going to be empty. Insert the domain name that was associated with this account, save the file, and then run:

Code:
# /scripts/updateuserdomains
If you need to determine the domain name used during account creation, search for the username in /var/cpanel/accounting.log. EX:

Code:
# grep username /var/cpanel/accounting.log
Thank you.