LW IT Solutions logo LW IT Solutions logo LW IT Solutions
« Blog Overview /IT & Networks / Geo-Location Testing: Viewing a Website From Another...
Read this article in other languages:

Geo-Location Testing: Viewing a Website From Another Country via VPN or Cloud VM

Geo-Location Testing: Viewing a Website From Another Country via VPN or Cloud VM

Management Summary

Websites can show different prices, languages or consent notices depending on the country of a visit. Location testing checks how these regional versions behave. A VPN redirects the connection through another location, while a rented cloud computer offers a separate access point abroad. This helps review international websites, but the country a site detects can differ from the selected location. Browser language, login and saved choices also influence the result.

Contents
  1. The location signal
  2. Method 1: a VPN endpoint
  3. Method 2: a browser on a cloud VM
  4. Evidence beyond the banner
  5. Questions and answers
  6. Sources

A website may vary prices, language or consent settings according to a detected country. A useful localization test checks both the input signal and the resulting page. A VPN sends traffic through a server at another network location. A cloud virtual machine (VM) is a rented computer running in a provider’s data centre. Both provide test locations, but neither guarantees a particular country classification or access through every firewall.

The location signal

IP geolocation estimates a location from the public IP address. Browser geolocation, browser language, time zone, account settings and saved choices are separate inputs. Changing the IP does not change all of these. A test should specify which signal is expected to control the result.

Method 1: a VPN endpoint

  1. A provider needs the required exit locations, suitable privacy terms and a dependable client. A paid plan alone does not prove safety, and a free plan alone does not prove abuse.
  2. The VPN connects before the test begins. The public IP observed by the target application must then be checked, including IPv6 if available. With split tunnelling, only selected applications or destinations use the VPN. Other traffic may still expose the local connection’s address.
  3. A fresh browser profile or genuinely new private session avoids reusing ordinary site state. In Chrome, all existing Incognito windows must close before a new Incognito session starts. A second private window in the same session is not an independent clean test.

Method 2: a browser on a cloud VM

A Compute Engine VM in a chosen region can run a browser through Chrome Remote Desktop. For example, europe-west6 is the Zurich region. Region selection does not guarantee that every external IP database will classify the outgoing address as Swiss.

The supported setup needs a compatible Linux desktop, browser, Remote Desktop host, authenticated remote access and an internet route, such as an external IP or Cloud NAT. The browser must actually run inside the remote session. Opening the website in the local browser still tests the local connection.

Datacenter addresses can also be blocked or challenged. A VM is therefore another measurement point, not an unblockable substitute for a residential connection. Running VMs, disks, networking and retained resources may incur costs; the test plan should include removal of test resources that are no longer needed.

VPN and cloud VM routes require checks of the actual exit IP, browser state and country detected by the target website.
VPN and cloud VM routes require checks of the actual exit IP, browser state and country detected by the target website.

Evidence beyond the banner

For each run, the useful record includes time, target URL, observed public IP, country reported by the actual site or edge service, language, time zone, login state and saved consent state. The resulting page or network response then shows whether the expected rule ran.

A discrepancy between VPN and VM can have several causes: different geolocation databases, previously saved cookies or site settings, a proxy route, bot protection or a different application configuration. It does not by itself prove that the rule uses more than a country code. A regional page test also does not establish legal compliance of the entire consent implementation.

Questions and answers

Is Incognito enough for every test?

No. A new session separates much browser storage but leaves the network route unchanged. Signing in can restore server-side preferences, and private-mode cookie restrictions can themselves change behavior. A controlled ordinary profile can be useful as a comparison.

Does a remote browser reproduce a visitor’s precise location?

No. Browser geolocation is a separate permission-based mechanism and can behave differently on a VM. A remote session is useful for IP-based checks, but GPS- or device-dependent behavior needs its own test.

How should an unexpected country be investigated?

The address and country detected by the system that makes the decision are the starting point. A separate IP-check website may use another database and therefore cannot conclusively explain the target site’s decision.

Lukas Wojcik

Lukas Wojcik

Systems architect and technology enthusiast specializing in scalable tracking solutions, GMP Stack (GA4 & GTM), and robust backend architectures. Advocate for clean code and privacy-first design.

Get in touch

A question or an idea for a web project? Tell me a little about it. This form uses reCAPTCHA to protect against spam.

Write a comment

Experience with other hardware or firmware and questions about the configuration are welcome here.

The email address is not published. Required fields are marked with an asterisk.