Skip to content

How to test a website from another country: five methods compared

By the DataImpulse team · 22 Nov 2026 · 5 min read

Visitors abroad often see a different site than you do. This guide compares five ways to check a website from another country and gives the commands to test redirects, language and speed.

The site you see is not always the site your visitors see. Redirects, language, prices, consent banners and even whether the page loads can depend on the country a request comes from.

There are five practical ways to check a website from another country. This guide compares them, then gives a short routine with commands you can reuse.

What changes by country

Before testing, know what you are looking for.

  • Redirects. Many sites send visitors to a country folder or a local domain based on their address.
  • Language and currency. Some choose from the address, some from the browser's language, some from both.
  • Prices, tax and payment methods.
  • Legal notices. Cookie banners and age checks differ by region.
  • Availability. A page, a product or the whole site may be blocked or switched off for a region.
  • Speed. A page served from one continent can be slow on another.

Method 1: a proxy in the target country

A proxy gives your request an address in the country you choose. It is the most direct test, because the site receives a real request from a real address there and responds as it would to a local visitor.

It works for the command line, for scripts and for a normal browser, and you can hold several countries at once. A datacenter proxy is enough for most testing and costs little. Use an ISP or mobile proxy when the site treats hosting addresses differently. Types of proxy servers explains the choice, and the locations page shows the countries we stock.

Method 2: a VPN

A VPN app with a server in the country is the quickest way to look at a site by eye. Everything on the device goes through it, so there is nothing to configure per program.

The limits are that you get one country at a time, automation is awkward, and VPN addresses are widely recognised, so some sites respond with a block that a local visitor would not see.

Method 3: a cloud browser or testing service

Website testing services run real browsers in data centres around the world and return screenshots, video or a remote session. They are the best option for checking layout on many devices, and several also report loading speed by location.

They cost more for regular use, and the visits come from known testing ranges. For logged-in flows you must also be comfortable entering credentials on someone else's machine.

Method 4: search engine parameters

If all you need is a search results page for another country, you may not need a different address. Google accepts gl for country and hl for language in the address of a results page, and has a region setting in search settings.

This changes search results only. It tells you nothing about how a website itself behaves, and results still differ somewhat from a true local search.

Method 5: browser developer tools

Browser developer tools can override the location reported by the geolocation interface, the language and the time zone. That is useful for testing code in your own site that reads those values.

It does not change your IP address. A server that decides by address still sees your real country, so this method tests the browser side only.

Which method to use

  • A quick look at one page: VPN or a browser set to use a proxy.
  • Redirects, headers and status codes: a proxy with curl.
  • Repeated or scheduled checks across many countries: proxies with a script.
  • Visual layout on many devices: a testing service.
  • Search results only: search parameters.
  • Your own location-reading code: developer tools.

A test routine with curl

These commands use a proxy from your dashboard. Replace the capitalised words with its details and YOUR-SITE with the domain you are testing.

First confirm where the proxy exits.

curl -s -x http://USERNAME:PASSWORD@HOST:PORT https://ipinfo.io/country

Then follow redirects and print where you end up.

curl -s -o /dev/null -L -w "%{http_code} %{url_effective} %{num_redirects} redirects\n" -x http://USERNAME:PASSWORD@HOST:PORT https://YOUR-SITE/

Send a language preference to see whether the site uses the address, the language or both. Run it with and without the header and compare.

curl -s -o /dev/null -L -w "%{url_effective}\n" -H "Accept-Language: de-DE,de;q=0.9" -x http://USERNAME:PASSWORD@HOST:PORT https://YOUR-SITE/

Measure how long the first byte and the whole page take from that country.

curl -s -o /dev/null -w "first byte %{time_starttransfer}s, total %{time_total}s\n" -x http://USERNAME:PASSWORD@HOST:PORT https://YOUR-SITE/

We checked each -w variable above against httpbin before publishing, and the curl manual lists all of them. The timing includes the trip from you to the proxy, so compare countries with each other and do not read the number as an absolute.

Check several countries with a script

With one proxy per country, a short script reports them side by side.

import requests
PROXIES = {
    "DE": "http://USERNAME:PASSWORD@HOST1:PORT",
    "IN": "http://USERNAME:PASSWORD@HOST2:PORT",
    "US": "http://USERNAME:PASSWORD@HOST3:PORT",
}
URL = "https://YOUR-SITE/"
for country, proxy in PROXIES.items():
    try:
        r = requests.get(URL, proxies={"http": proxy, "https": proxy}, timeout=30)
        print(country, r.status_code, r.url, r.headers.get("content-language"), round(r.elapsed.total_seconds(), 2))
    except requests.RequestException as error:
        print(country, "failed:", type(error).__name__)

It prints the status, the final address after redirects, the declared language and the time for each country. Run it on a schedule and you have a simple monitor for regional problems. The Python requests page covers proxy options in more depth.

In a browser

For a visual check, set the proxy in the browser, as described for Chrome, and open the site in a private window so old cookies do not decide the country for you. Confirm the address first with our what is my IP tool.

A few details make the test realistic. Set the browser language to one used in the target country. Remember that the time zone still comes from your computer. And clear site data between countries, because many sites store your region the first time you visit.

Common mistakes

  • Testing with cookies from an earlier visit, which lock in the first country.
  • Trusting one lookup service. Sites use different address databases and can disagree about a location.
  • Treating a block of a VPN or hosting address as proof that the country is blocked.
  • Forgetting the consent banner. In some regions scripts do not run until consent is given, so the page behaves differently.
  • Measuring speed once. Run each timing several times and use the middle value.

For a fuller checklist of what to verify per market, see the page on localization testing.

Try it yourself

Create an account, add funds from US$1 and order a proxy in the country you need.

Keep reading