How to delete old uninstalled sub-domains in awstat index list?

waris

Registered
Feb 5, 2013
1
0
1
cPanel Access Level
Website Owner
Hi I am new.

I have been using cpanel since 2006 and has accumulated a bit of unused items.

I had unsubscribe to a domain name and i had uninstalled a number of sub-domain which I no longer use.

They are however still listed in the index list of my Awstat.

How do I delete the no longer used domain and sub-domains in the list and bring it up to date?

Thank you.
 

Greenhost

Well-Known Member
Jan 22, 2013
92
0
6
cPanel Access Level
Root Administrator
Did you click on "No" when give massage to To keep the subdomain ?

In other hand, If you've got a "sticky" subdomain that cannot be deleted when logged in as the user, you may have to edit it out of the following files:
Code:
/etc/userdomains
/usr/local/apache/conf/httpd.conf
If you have no WHM Plugins, then you must use SSH to access these files. If you have the ConfigServer Explorer plugin, you could use that to edit the files from WHM.

Note: I cannot stress enough how important it is to backup these important files before making any changes. If you don't feel confident doing this yourself, then open a ticket with cPanel support and explain that you cannot completely get rid of a certain subdomain, then they will take care of it for you.

More information Subdomains
 

kdean

Well-Known Member
Oct 19, 2012
312
32
28
Orlando, FL
cPanel Access Level
Root Administrator
They are however still listed in the index list of my Awstat.

How do I delete the no longer used domain and sub-domains in the list and bring it up to date?
To remove unneeded Awstats records, go to the account via FTP or File Manager and browse to:

/tmp/awstats/

There you will find .conf and .txt files with your domain and subdomains in the filenames. Delete only the .conf and .txt files that match exactly the ones you have already removed. If they're still listed in your add-on domains or sub-domains section then you haven't removed them yet.