ResidentialIPs.org

Glossary IP reputation and detection

Geo-blocking

By the ResidentialIPs Editorial TeamUpdated

Geo-blocking: Geo-blocking is when a website or service restricts, changes or denies access based on the visitor's location, which it usually works out from their IP address.

Also called: geoblocking, geo-restriction, regional blocking

Key takeaways

  • Sites geo-block for licensing, legal, sanctions and pricing reasons.
  • Location is inferred mainly from IP geolocation, sometimes combined with payment or account country.
  • Geo-blocking ranges from a different version of a page to a full refusal (often HTTP 403 or 451).
  • Businesses use local proxies to see what customers in each market see.
  • Using proxies to get around licensing or legal restrictions can break terms of service or local law.

What is geo-blocking?

Geo-blocking is location-based access control. A streaming service may only hold rights for certain countries. A gambling site must refuse users where it is not licensed. A store may show different prices or products per market. A company under sanctions rules must refuse traffic from certain regions. All of these depend on knowing where the visitor is, which is usually estimated from the IP address.

Forms of geo-blocking

FormExample
Full block“This service is not available in your country”, HTTP 403 or 451
RedirectAutomatic redirect to a country-specific domain
Content differencesDifferent catalogue, prices or search results
Feature limitsPayments, sign-ups or downloads disabled
Legal noticesCookie banners or disclosures required by local law

In the EU, a 2018 regulation limits unjustified geo-blocking between member states for many online sales, so shoppers in one EU country can usually buy from a store in another.

How sites detect location

  1. IP geolocation databases (the main signal).
  2. Detection of VPN, proxy and hosting IPs.
  3. Account settings, billing address and payment card country.
  4. Browser language, time zone and, with permission, the browser geolocation API.
  5. DNS resolver location, which can influence which CDN edge serves you.

Legitimate uses of local proxies

  • Localization testing: checking your own site in each market.
  • Ad verification and brand protection.
  • Price monitoring and market research.
  • SERP tracking by country.

The line to respect

Seeing public, location-specific information as a local user would see it is normal market research. Using proxies to access content you are not licensed to view, to evade sanctions or to sign up where a service is not allowed may breach terms of service or law. Check before you do it.

Why websites geo-block

  • Licensing: streaming, sports and music rights are often sold per country.
  • Law and regulation: gambling, financial products, some medicines and certain content are legal only in some places.
  • Sanctions: companies block countries under trade sanctions.
  • Pricing and stock: shops show different prices, products or delivery options per market.
  • Security: some services block countries they never serve to reduce attack traffic.

What geo-blocking looks like

ResponseExample
RedirectSent to a local version of the site
Block page“This content is not available in your region”
HTTP status403, or 451 Unavailable For Legal Reasons
Different contentSame URL, different prices, products or search results

Location signals beyond the IP

IP geolocation is the main signal, but sites can also use your account’s country, payment method, browser language, timezone, GPS from a mobile app and DNS resolver location. That is why a proxy alone sometimes is not enough to see a local version of a site, and why mismatches between these signals can trigger extra checks.

The EU approach

Inside the European Union, Regulation (EU) 2018/302 limits unjustified geo-blocking of customers from other EU countries when they buy goods and many services online. It does not cover everything (some audiovisual and copyright content is excluded), but it means an EU shopper should generally be able to buy from a shop in another member state on the same terms as locals.

Testing your own geo rules

If you run a site with geo restrictions, test them from proxies in allowed and blocked countries after every change. Check that blocked visitors get a clear message rather than a broken page, that search engine crawlers can still reach pages you want indexed, and that customers travelling abroad have a way to reach their accounts.

Frequently asked questions

Is bypassing geo-blocking illegal?

Often it is a terms of service issue rather than a crime, but it can be illegal in some cases, for example evading sanctions or gambling restrictions. Check the rules for your situation.

What does HTTP 451 mean?

“Unavailable For Legal Reasons”: the server refuses the request because of a legal demand, often tied to the visitor’s country.

Why do I still see the wrong country with a proxy?

Cookies from earlier visits, account settings, DNS or WebRTC leaks, or browser language can override the IP location.

Can businesses use proxies to check their own geo-blocking?

Yes. Checking that your site shows the right content, prices and legal notices in each market is a common, legitimate use of local proxies.

Can geo-blocking stop search engines from indexing my site?

It can if you block the countries crawlers come from. Googlebot mostly crawls from US IP addresses, so blocking the US can hide your pages from Google.

Sources and further reading

Browse all 40 glossary terms Markdown version