How to Test Your Website From Another Country

· Updated:

To test a website from another country, send your browser or test script through a proxy with an IP in that country and open the site in a clean profile. The server then makes its usual IP-based decisions, such as country redirects, currency, consent banners and payment options, exactly as it would for a local visitor. Browser settings alone cannot do this, because the server decides from the IP address before any page code runs.

QA from real in-country IPs

Why you need an in-country IP to test a website from another country

Sites localize in two places. The browser sends language preferences (Accept-Language) and exposes time zone and locale to page scripts. The server, CDN or edge worker looks up the visitor's IP in a geolocation database and gets a country, sometimes a region or city. Redirects to /en-gb/, VAT-inclusive prices, cookie banners and the list of payment methods often hang on that second lookup.

Changing browser language or using the DevTools Sensors panel tests only the first layer. The Sensors override changes what navigator.geolocation reports to page scripts; it does not change the IP the server sees. A proxy in the country is the simplest way to exercise the server layer end to end.

Test the logic first, then the real path

If your app reads a country header set by your CDN, you can unit test the logic in staging by injecting that header. That is fast and needs no proxy. Then run an end-to-end check through an in-country IP to confirm the CDN, cache rules and redirects behave the same in production.

CDN edges and DNS

With an HTTP proxy, the proxy resolves the hostname, so you usually reach the CDN edge closest to the proxy rather than to you. With SOCKS5, use remote DNS (for example socks5h:// in curl and Python) to get the same effect. This matters when different edges run different cache contents or feature flags.

How to check geo redirect behavior

Start below the browser. Raw headers show exactly what the server did: the status code (301, 302, 307 or 308), the Location it sent, any country cookie it set, and whether responses vary by language. This curl command prints each hop of the chain through a proxy.

# Every hop of the redirect chain, headers only
curl -sIL --max-time 20 \
  -x http://USER:PASS@IP:PORT \
  -H "Accept-Language: en-GB,en;q=0.9" \
  https://example.com/ | grep -iE "^(HTTP|location|set-cookie|vary)"

Look for these problems in the output and in the browser:

  • Redirect loops. A global page redirects to a country page that redirects back, often because a country cookie is not set or not read.
  • Manual choice ignored. After a visitor picks a different country in your selector, an explicit preference cookie should win over the IP on later visits.
  • Cache mixing. A page cached for one country served to another. Check that cache keys or Vary cover what the page varies on.
  • Search crawlers. Google notes that Googlebot crawls mostly from US IP addresses and recommends separate URLs per locale with hreflang rather than forcing IP-based redirects; confirm each locale URL can be opened directly from any country.
  • JavaScript redirects. If redirects happen in page scripts, curl will not see them; use the browser test below.

Browser checks: manual and automated

For manual checks, use a dedicated browser profile per country so your own cookies, logins and extensions do not affect results. Chrome's --proxy-server flag cannot carry a username and password, so use an extension or system setting; the Chrome proxy setup guide covers the options. More curl options are in the curl proxy guide.

Automated localization QA with Playwright

For regression tests in CI, give each country its own proxy and a fresh browser context with matching locale and time zone. The script below confirms the exit IP, then records status, final URL, title and a screenshot.

const { chromium } = require('playwright');

(async () => {
  const browser = await chromium.launch({
    proxy: { server: 'http://IP:PORT', username: 'USER', password: 'PASS' },
  });
  // Fresh context per run: no cookies, no stored country choice.
  const context = await browser.newContext({
    locale: 'en-GB',
    timezoneId: 'Europe/London',
  });
  const page = await context.newPage();
  page.setDefaultTimeout(30000);

  await page.goto('https://proxyv4.com/api/my-ip');
  console.log('Exit IP:', (await page.textContent('body')).trim());

  const res = await page.goto('https://example.com/', { waitUntil: 'load' });
  console.log('Status:', res.status());
  console.log('Final URL:', page.url());
  console.log('Title:', await page.title());
  await page.screenshot({ path: 'gb-home.png', fullPage: true });

  await browser.close();
})();

Assert on what matters to the business: the final URL path, the currency symbol, the presence of a VAT note, or the payment options on the checkout page. The Playwright proxy guide covers SOCKS5 and per-context proxies.

What to cover in a localization QA pass

A useful checklist per country: landing redirect, language and currency, prices with tax display, shipping availability, consent banner and its options, legal pages, contact details, checkout payment methods, and email or SMS formats in sign-up forms. Run it on desktop and mobile viewports.

Common mistakes in geo testing

An in-country IP is necessary but not sufficient. These are the usual reasons a test shows the wrong country:

  • Old cookies or storage. A previous visit stored country=US or a currency choice. Start every test in a fresh context or private window.
  • Language mismatch. An IP in Japan with Accept-Language: en-US may correctly get English. Set the language you mean to test.
  • WebRTC exposing your local address. Some browsers can reveal your real IP to page scripts. Check the profile once with a WebRTC leak test.
  • Time zone. Dates, delivery estimates and opening hours use the browser time zone; set it to the market when those matter.
  • Logged-in accounts. An account with a saved country can override the IP; test both logged-out and logged-in states deliberately.

Choosing a proxy for geo testing and localization QA

For QA, reproducibility matters most. When a tester reports "the UK checkout shows the wrong VAT", a developer should be able to reproduce it from the same IP an hour or a week later. A static IP per country gives you that; an address that changes per request makes stateful flows such as carts and sign-ups harder to test and bugs harder to reproduce.

ProxyV4 sells private datacenter IPv4 in the United States, the United Kingdom, Japan, South Korea, Singapore, Hong Kong and Vietnam, and static ISP proxies in 23 countries, including all seven of those. A United Kingdom proxy is a typical start for checking VAT display, pound pricing and UK consent flows. Each IP has one tenant for the whole term and stays the same while the proxy is active; renewing before expiry keeps the address. Every proxy supports HTTP(S), and proxies outside Vietnam also support SOCKS5 with username and password, and you choose HTTP only, SOCKS5 only or both on the same port on the order's page. Traffic on private IPv4 and static ISP is not metered, so screenshot-heavy CI runs do not add to the bill.

Where it does not fit: if you need to test from a country outside the seven, from mobile carrier networks, or from many cities in one country, ProxyV4 cannot cover it; there are no mobile or rotating proxies on sale. IPv6 proxies are a separate product that only works on IPv6-ready sites, so test IPv6-only paths another way. Live per-IP prices are on the pricing page; order one IP for your most important market first. A proxy that fails for a technical reason, such as the wrong location, is credited to your balance under the refund policy.

Confirm the exit IP before every test run

Make the first request of every run an IP check, and fail the run if the country is wrong. In a browser, open the my IP tool; in scripts, request https://proxyv4.com/api/my-ip through the same proxy, as the Playwright example does. If it shows your office or home address, the proxy is not applied to that client, and every result after it would be misleading.

Frequently asked questions

Why does the site still show my home country through a proxy?

Usually a stored cookie, a logged-in account or a saved country choice overrides the IP. Test in a fresh profile and confirm the exit IP first.

Can I test geo redirects with Chrome DevTools alone?

No. DevTools can change language and the location reported to page scripts, but not the IP address the server uses for geolocation.

Is a VPN or a proxy better for website QA?

A VPN works for occasional manual checks. A proxy can be set per browser profile or per test context, so you can run several countries side by side and in CI.

Does ProxyV4 support HTTP and SOCKS5 for test tools?

Yes. Every proxy supports HTTP(S) and SOCKS5 with username and password, and you can enable HTTP only, SOCKS5 only or both on the same port.

Can I keep the same test IP across release cycles?

Yes. The IP stays the same while the proxy is active, and renewing before expiry keeps the same address.

QA from real in-country IPs

Run geo redirects, pricing and consent checks from a fixed private IPv4 address in the UK or six other countries. Start with one IP for your main market.

Compare plans

Related articles

Proxy setup
Playwright proxy authentication, one static IP per context
Give each Playwright browser context its own authenticated HTTP(S) proxy in Node.js or Python, match timezone and locale to the IP and confirm the exit address.
Proxy setup
Routing Google Chrome Through a Private Proxy
Put an HTTP(S) proxy on Google Chrome only, not the whole computer: a per-profile extension, a --proxy-server launch shortcut, or the system proxy settings.
Free tools
Your public IP address, as websites see it
What is my IP? This page shows the public IP address every site sees from you right now, explains IPv4 and IPv6, and lets you confirm a proxy profile is active.
Free tools
Check whether WebRTC exposes the IP your proxy should hide
Free WebRTC leak test: compare the IP sites see over HTTP with the IPs your browser reveals through WebRTC STUN, and find out whether your real address leaks.
Proxies by country
UK Proxies: British IP Addresses for Sellers, SEO and Ad Teams
Buy a UK proxy: a static British IP used by you alone, private IPv4 for google.co.uk tracking and eBay UK research or static ISP for Amazon.co.uk seller logins.
IPV4 · united kingdom
UK Private IPv4 Proxy for Marketplaces, Search and Campaigns
UK private IPv4 proxy with a static British datacenter IP rented to one customer, for eBay UK and Amazon.co.uk research, google.co.uk tracking and UK ad checks.
Knowledge base
How to Check Google UK Rankings When You Are Not in Britain
Check google.co.uk rankings from abroad with Search Console UK data, a UK rank tracker and manual spot checks from a British IP, within Google's terms.
Knowledge base
How to Test a Cookie Banner the Way UK Visitors See It
Test your cookie banner for UK visitors from a British IP: check PECR consent, equal reject options and blocked trackers before consent, with Playwright code.
Knowledge base
Vinted UK Price Research for Resellers Based Outside Britain
Vinted UK price research from abroad: see GBP listings, buyer fees and UK postage as British shoppers do, sample prices by hand and compare with Depop and eBay.
Free tools
Check proxies in bulk: status, exit IP and latency
Free online proxy checker: paste up to 100 ip:port:user:pass lines and see which proxies work, their exit IP and latency, plus what each failure result means.