How to set up country restriction for one domain

Hello!
Could you clear, how to do country restriction for one domain within HESTIA CP
For example domain.xx can visit only visiters from one counrty, other countries must be restricts
Is there tools for it?
Thank’s

Hi @saleseo

If you use Apache you can follow these steps but you must change and install a few things:

Oh, use ngnix, no apache

But are you using Nginx only or Nginx + Apache?

If you use Nginx only, you must compile it yourself to add support for geoip2 module. I’m using it but I didn’t make a guide because it requires compilation and I’m too lazy.

nginx only