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)
- Install the GeoIP2 Perl module and a GeoLite2 country database on the server.
- Enable the GeoIP plugin in the domain's AWStats configuration (DirectAdmin keeps it in the domain's
awstatsfolder). - 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.