Block countries, bots and IP addresses with the CDN
Checked against the client area 19 November 2026
With the CDN you can stop unwanted traffic before it reaches your website. You can make visitors from other countries verify themselves, or block them completely. You can also stop bots that fetch your pages, and single IP addresses. The security overview shows what has been stopped in the last 24 hours.
Open the CDN page in the client area
If the same rules should apply to many domains, an AI app is quickest:
Before you start
Section titled “Before you start”The rules only apply to traffic that goes through the CDN. The domain should show CDN Active on the CDN page. The website’s DNS records should show CDN on. See Turn the CDN on or off for your domain and CDN settings.
How to
Section titled “How to”To decide what happens to visitors from other countries:
-
Go to CDN and click Settings next to the domain. On a phone, tap the domain.

-
Under Visitors outside your target audience, choose Allow everyone, Verify visitors or Block visitors. With Verify visitors, visitors outside your target audience get a security check before the website shows. With Block visitors, they are not let in at all.

-
If you chose to verify or block, Target Audience appears. It lists the countries whose visitors get in without a check. To add more, click Edit countries and tick them. Countries that are included automatically are greyed out and cannot be removed.
-
Click Save Settings.
If an integration or webhook has to reach the website from another country, click Advanced: exception rules, further down the dialog below Cache and performance. Add the service’s IP address under Allowed IPs / CIDRs, its user agent under Allowed User Agents or the path under Allowed Paths. Click Add and save the settings. The exceptions get past the country filter. Other security rules can still apply.
Block bots, user agents and IP addresses
Section titled “Block bots, user agents and IP addresses”-
Open the domain’s settings as above and click Additional protection.
-
Under Blocked crawlers, tick a group under Groups, for example AI crawlers that collect content or SEO tools. Each group says what it stops.
-
To stop a single crawler, search for its name under Individual crawlers and click it in the list. If you pick Googlebot or bingbot, the website disappears from Google’s and Bing’s search results. The client area then shows a warning below the list.

-
If the bot is not under Individual crawlers, type its own name, for example MegaIndex, in the Blocked user agents field under Custom block rules. Text that appears in ordinary browsers’ user agents is not accepted. It would stop ordinary visitors. Type an IP address or a network such as 192.0.2.0/24 in the Blocked IPs / CIDRs field. Click Add.

-
Click Save Settings.
To remove a rule, click the cross (Remove) on it and save.
See what has been stopped
Section titled “See what has been stopped”At the top of the CDN page, Security overview shows what the protection has done on your domains in the last 24 hours.

- Bot attempts stopped: automated traffic that was stopped.
- Let in after verification: real visitors outside your target audience who passed the check.
- Passed verification: how many of those checked turned out to be people. A low value means the check mostly hits bots.
- Trusted exceptions: verified automated traffic let past the filter, for example Google’s indexing and payment services’ webhooks.
Click Show details to see the figures per domain. Click View traffic next to a domain. The Traffic and protection box opens. Under Stopped in the CDN you see the domain’s countries, paths and IP addresses.
If many real visitors outside your target audience pass the check, the overview shows a tip with a button for each domain concerned. The button opens that domain’s settings. Add their countries to the target audience, or choose Allow everyone.
See who fetches your pages
Section titled “See who fetches your pages”If the website is on a web hosting account with us, the box also has the tabs Who asked and How the server answered. They show everything that reached the website on the server in the last 24 hours: visitors, search engines, AI services and other crawlers.
- Click View traffic next to the domain.
- Click Who asked. Each sender has a row with its number of requests. If a crawler has a limit, the limit is shown there. So is the number of requests that were refused.
- Click a sender. You see when it came, hour by hour. Under Pages and files you see what it asked for. Type in the Search the list field to find a certain page.
- Click How the server answered to see how the server answered. Click Not found to see which pages are missing and who asked for them.
- Under How protection is set up you see the steps the traffic passes, in order. You change the steps in the CDN with Edit settings.
The same box exists for every website on your web hosting, even if it does not use the CDN. There it has no Stopped in the CDN tab. Click More on the web hosting card and choose Traffic. If the web hosting has several websites, pick one under Website.
You can also ask the AI assistant. It works in an AI app you have connected to your account too. Ask for example what Googlebot has fetched on your websites in the last 24 hours. You can also ask which pages answer 404. You get the same numbers as in the box. If you ask without naming a website, you get the answer for every website on the web hosting at once.
Open your web hosting in the client area
Good to know
Section titled “Good to know”- Blocked crawlers are stopped before any other rule, even if they count as trusted. Custom block rules apply before the country filter and all exceptions.
- Verified automated traffic, such as Google’s indexing, payment webhooks and API calls, gets past the country filter without you doing anything.
- The overview covers 24 hours and is generated at most once a day. The period is shown below the heading. A filter you change only shows in the figures of the next overview.
- In the list of domains, the Audience filter column shows each domain’s current country filter.
- The tabs show different numbers. Stopped in the CDN counts only what the CDN filter stopped, asked to verify or let past as an exception. That covers the domain and all its subdomains. Who asked and How the server answered count everything that reached the website on the server. What the CDN stopped or answered from its cache never got there.
- A subdomain is a website of its own with its own numbers. It is not included in the domain’s numbers from the server.
- Each tab shows the period it covers. The overview from the CDN can be up to a day old. The numbers from the server cover the last 24 hours.
- The pages are shown without what visitors typed into filters and search fields. Only the names of the parameters are shown.
- The crawler limits on the server apply to every website on the server. We look after them. They cannot be changed in the client area. A crawler you do not want at all is blocked under Blocked crawlers.