How to remove domains from webalizer and awstats?

lgdelai

Registered
Aug 24, 2020
4
0
1
Brazil
cPanel Access Level
Website Owner
If I add a domain, or a subdomain in a cpanel, and then remove it, it continues to be displayed in the list of domains / subdomains, polluting the screen.

How do I remove domains that I no longer use?
 

andrew.n

Well-Known Member
Jun 9, 2020
633
183
43
EU
cPanel Access Level
Root Administrator
I believe the stats are not being updated right away but in a few hours. Check it after 24 hours and they should be disappeared by then surely.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
It can be, the statistics don't get run any longer but for historical purposes, the data remains. It's really not an issue for technical purposes, but for aesthetics if you find it hard to manage I can see there being a problem. If you need them removed though, it's an issue your provider can assist you with.
 

lgdelai

Registered
Aug 24, 2020
4
0
1
Brazil
cPanel Access Level
Website Owner
Imagine that the cpanel user, for years on end, creates subdomains for testing, with time the list will be huge, full of useless items.

Disrupting the location of those that are actually active and being used.

Shouldn't the platform offer the possibility to at least hide old domains?

It is not a matter of aesthetics, it is a matter of UX.

Here in the forum there is no tutorial on this?

If you haven't implemented a way to hide or delete easily, it's strange that there aren't at least instructions on how to do this manually.

NOTE: I tried to help with hosting, they didn't know how to help me.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
So, we don't make the third party statistics software, awstats or webalizer and they must be configured on their own for this behavior.


In my own webalizer I don't have domains that are no longer on the server present in the webalizer interface. I do see them for awstats though. All of the statistics software include configuration files that can be modified, which are located at /home/$user/tmp/(awstats/webalizer/analog) respectively removing the configuration files for domains that no longer exist from these directories would cause them to no longer show up in the interface.