AWstats not resolving ipaddresses

Perhaps this comment is useful for somebody with the same problem.

After a vanilla install of my server & hestiacp, awstats did not resolved ipaddresses into hostnames.
The file /etc/awstats/awstats.conf contained the line
DNSLookup=1

I manually added that same line to all the websites awstats configuration files in /etc/awstats (awstats.{domain}.conf) and the resolving started to work.

1 Like

It will get reset when it updates hestia or you update the web site settings

We should make the changes with a pr or update it with a hook that runs every update

Yeah, it is probably better to add that line to /usr/local/hestia/data/templates/web/awstats/awstats.tpl

I would love to make a PR but sadly don’t know how.

Do you want to enable “Country” report?

In that case:

Gives a more improved result

Nope, but thank you for the excellent suggestion.