Black Friday promo up to -50% Time left:

How to block visitors to your web site by country?


When you are running a website, by default, it is accessible to visitors from all over the world. And while this has its benefits, sometimes, the content and information it provides is not relevant to everyone. There are times when you just want to block visitors from some countries for that purpose or just want to manage your website traffic better. A good use of this, for example, is when you want to host a local competition or contest and you don't want to allow visitors from other countries, but only from your own.

How can I do that?

First off, you need to have a GeoDNS subscription. Then you need to follow these simple steps:

1. Navigate to your GeoDNS zone.

2. In the zone's control panel, add a new A record.

3. In the record's settings, type as follows:

Type: A
Location: Here, choose the country, you wish to block visitors from
TTL: 1 Hour
Points to:

Last modified: 2020-04-05
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more