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.