I’d like to block visitors from certain countries from viewing a site I have on a Dreamhost VPS. I know this can be done via Cloudflare, but the site is not compatible with Cloudflare’s requirements, so I need to do it another way.
I’ve seen talk elsewhere about mod_geoip, but I can’t work out if it is already installed, or if not then what I need to do to install it.
Any help with mod_geoip or another approach to so this is very welcome. Thank you!