Install libapache2-mod-geoip by entering the following commands in the terminal:
sudo apt update sudo apt install libapache2-mod-geoip
Description:
GeoIP support for apache2
This is an apache2 module for finding the country that a web request originated from. It uses the GeoIP library and database to perform the lookup. The module allows manipulation of client requests from within Apache based on the country of origin. . This module only works on Apache 2 servers.
Homepage: http://www.maxmind.com/app/mod_geoip
Version: 1.2.10-1
Section: universe/web