ResolutionBy default, AwStats does not show the countries visitors are visiting from. To enable this feature, the GeoIP plugin should be configured. Here is the information about this plugin from /etc/awstats/awstats.conf:
# Plugin: GeoIP
# Perl modules required: Geo::IP or Geo::IP::PurePerl (from Maxmind)
# Country chart is built from an Internet IP-Country database.
# This plugin is useless for intranet only log files.
# Note: You must choose between using this plugin (need Perl Geo::IP module
# from Maxmind, database more up to date) or the GeoIPfree plugin (need
# Perl Geo::IPfree module, database less up to date).
# This plugin reduces AWStats speed of 8% !
Usually, the geoip.pm plugin comes with the AwStats package. However, the Perl modules necessary for the plugin to work (Geo::IP or Geo::IP::PurePerl) should be installed.
You can get all necessary installation instructions and downloadable plugin files (for example, "Geo::IP::PurePerl Module" library) here:
The plugin should be enabled in the main AwStats configuration files:
It should also be enabled in the files that were already configured by Plesk for every domain that can be found in /usr/local/psa/etc/awstats/*.
The line that should be added into all of these files looks like this:
LoadPlugin="geoip GEOIP_STANDARD /pathto/GeoIP.dat"
The latest GeoIP.dat can be found at http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz.
Note that it might take a couple of days for your stats to start accumulating the information on visitors' countries.