Edit the /etc/resolv.conf file
Check if the IP addresses for nameservers are as follows.
nameserver 127.0.0.1
nameserver 192.168.1.1
nameserver 192.168.1.2
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.
/etc/rc.d/init.d/httpd restart
Used this stuff before but now prefer no to use it/
I DONOT like WebAlizer.
Main reasons:
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