- Go to Virtualmin -> Logs and Reports - AWstats Configuration
- Click on Enable plugins
- Enable geoip (GeoIP Maxmind AWstats) plugin
In AWstats page you see at the bottom plugin geoip.
Go to /etc/awstats and open the file associated with you virtual server. Look for LoadPlugin="geoip
Here is the line you will find:
#LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat"
If this line is still commented how can AWstats know the plugin is loaded? Normally after enabling this plugin and save in Virtualmin interface, this line shoudn't be commented.