Skip to content

I would like to have Country stats in awstats on my DirectAdmin

Updated 1 min read

Updated: 28 September 2026 · Applies to: DirectAdmin

AWStats can show visitors by country. The recommended way is its GeoIP plugin with a current GeoLite2 country database.

Steps (admin)

  1. Install the GeoIP2 Perl module and a GeoLite2 country database on the server.
  2. Enable the GeoIP plugin in the domain's AWStats configuration (DirectAdmin keeps it in the domain's awstats folder).
  3. Wait for the next statistics run, or run it manually.

Note: MaxMind requires a free account to download GeoLite2 databases. Plugin names differ between AWStats versions (GeoIP vs GeoIP2); check your version's documentation.

Related services

Server management

on-demand administration, hardening, migrations and monitoring.

KVM VPS hosting

NVMe SSD and full root access, with Free Basic Managed Support.

Was this answer helpful?

Still stuck? Open a ticket