Edit the /etc/resolv.conf file
Check if the IP addresses for nameservers are as follows.
If not please change it. Webalizer checks resolve.conf file before generating the webstats.
Go to the path /usr/local/cpanel/src/3rdparty/gpl/webalizer-2.01-10
Then run the following command
./configure –enable-dns –with-dblib=/lib
Then run /scripts/runweblogs to see if the changes are updated.
You need to make one change to your httpd.conf file in the /etc/httpd/conf directory. (It is advised that you make a backup of the file BEFORE making any changes.)
Edit the file, look for HostnameLookups and change the value to On. Save the file and restart the web server i.e.
One Reply to “Webalizer not showing country names (unknown/unresolved)”
Used this stuff before but now prefer no to use it/
I DONOT like WebAlizer.
1) Not very correct stats
2) Refspam through webalizer logs
Refspam is popular in my country, and in case they make it more often the site with WebAlizer may me ddosed.
Thats what i think