Although there are more complex/recommended ways of enabling country stats in awstats (the geoip plugin), a very quick and easy way to enable basic country stats in awstats is to edit:
/home/username/domains/domain.com/awstats/.data/awstats.domain.com.conf
and set:
DNSLookup=1
Note that this will likely slow down the computation of stats significantly, since many reverse IP lookups would need to be done.
Most Popular Articles
Change email password without logging in
If you would like your pop users to be able to change their own email passwords without having to...
Setting up DirectAdmin with an SSL certificate
You can switch DirectAdmin to use SSL instead of plain text. -> https instead of http on port...
How to customize the output of webalizer
DirectAdmin uses the default webalizer settings by not specifying a webalizer.conf file at all....
How to allow webalizer stats to be viewable through the web
If a User does not want to have to login to DirectAdmin each time he accesses his webstats, a...
How to setup /~username/domain.com
If you wish to be able to control all domain on an account before they resolve, you can do so by...