Why Websites Show the Wrong Server Location When You Use a VPN

Lifehacker Tech by 6 min read 58x views
Why Websites Show the Wrong Server Location When You Use a VPN

Share Post


There are many reasons why person power use a VPN, but most often, it’s to conceal your genuine geographic location or forestall websites from tracking your online activity. It can additionally be a way to get about location-based restrictions that halt you from accessing certain websites or platforms. 

When you nexus to a VPN server in the United States, websites are expected to detect that your online traffic is originating from the U.S. That way, you can admission online platforms that use IP filters to obstacle non-U.S. traffic or circumvent local censorship whenever travelling exterior the U.S. But if you nexus to a VPN server in the United States during you’re vacationing in Mexico, and a website thinks your IP location is from Brazil, that power not resolve your issue and may equal add unnecessary complications. 

If you’ve encountered item akin alongside your VPN provider, there are multiple fixes you can try. Depending on why your IP location is being misinterpreted, one of these should assistance you admission the net from the server location of your choice. 

Surfshark VPN's browser expansion for Google Chrome.
Some websites neglect to peruse your accurate IP location whenever you're using a VPN service. Credit: Surfshark

Why websites misread your VPN location

IP geolocation isn’t infallible. Websites depend on third-party IP databases to appearance up your location according to your current IP address. Maxmind, which has among the largest specified databases in existence, claims that its GeoIP products have a 99.8% accuracy. Lesser-known providers alongside smaller IP databases may be far small accurate. 

Websites can additionally use additional than fair your IP location to evaluation your location. For example, they can dispatch WebRTC requests to your browser or immediately query your device’s GPS. Moreover, VPN providers frequently have bodily servers in one nation during their IP addresses are registered to another country, and this discrepancy can additionally create issues. Let’s obtain a nearer appearance at all of these problems individually, so you can discover the fix that plant finest for you. 

WebRTC leaks disclose your genuine IP address

WebRTC is an open-source innovation that lets your browser decrease latency whenever busy in high-bandwidth tasks akin streaming or video calls. Based on the IETF norm RFC 8828, it lets a website choose between your VPN server and your genuine IP location so it can established the quickest way to transmit ample amounts of data and decrease delay times or buffering. 

But the capture alongside WebRTC is that it exposes both your VPN server and ISP-assigned addresses to websites, which can disclose your genuine IP location and logic websites to refuse your VPN server country. Firefox now comes alongside built-in protections to forestall WebRTC leaks, during Chrome and Edge assistance third-party extensions akin WebRTC Control that you can use to eliminate these issues. To inspect if your browser is leaking your genuine IP location during WebRTC requests, you can use a liberated tool akin BrowserLeaks.

DNS lookups item to the incorrect country

Even whenever a browser isn’t leaking your genuine IP address, DNS resolvers may fetch inaccurate location data if their nearest servers are too far from your current location. For example, a user in São Paulo may be geolocated to Chile whenever using Google Public DNS since that’s anywhere Google’s nearest resolvers are located. 

If you toggle on DNS leak safety in your VPN app, this volition power websites to use your VPN’s resolver to execute DNS lookups. That frequently solves the problem, but, again, you can verify the fix worked through a assistance akin BrowserLeaks or IPLeaks.

Outdated databases item to incorrect locations

Websites depend on IP databases akin Maxmind, IP2Location, IPinfo, etc. to appearance up your exact location, but these databases get outdated quickly and need changeless updating. Most of these databases additionally accurate errors on request, but that takes several time. Also, all website has its own rules for how frequently it queries IP databases for updates.

What do you think so far?

Even whenever locations are updated in the genuine database, a website may be sitting alongside outdated data unless it actively has refreshed it recently. MaxMind recommends doing this at smallest twice a week, but that’s ultimately up to the particular website.

Virtual servers don’t equivalent their bodily location

VPN providers frequently depend on virtual servers that use IP addresses registered in a distinct area than the server’s bodily location. For example, ExpressVPN notes that it serves IP addresses in Bolivia, Ecuador, Peru, Uruguay, and Venezuela through servers located physically in Brazil. 

While this is normally to assistance alongside the deficiency of local infrastructure or strict surveillance laws in the region, many databases and analytics tools volition emblem the discrepancy for websites, foremost to disturbance and inconsistency concerning your genuine server location. In these cases, your finest bet is to toggle your VPN server or use a dedicated IP location by signing up for a paid add-on for your VPN.

IPConfig greeted display displaying IP location scan results.
You can run a liberated scan on your browser to detect your current IP address, geolocation, and servers. Credit: IPConfig.co

How to inspect for IP location mismatches for free

Before investing in a particular solution, it’s improved to do a thorough lookup to create certain why your IP location is pointing to the incorrect location and whether a WebRTC or DNS issue, virtual servers, or item alternatively is the cause. Here’s how I’d go concerning it, stage by step: 

  1. We’ll commencement by record your baseline IP address, country, city, and ASN. With your VPN disconnected, navigate to IPConfig.co on your browser to catch your default IP details. I akin this tool since it’s liberated and uses echoip to drag your location data direct from Maxmind. If you favor using Terminal alternatively of your browser, you can additionally run curl ifconfig.co/json to catch these particulars in plain content format.

  2. Now nexus your VPN server. Then sojourn IPConfig.co again to note downward the changed details. 

  3. Make certain the Country and Timezone fields equivalent your current VPN server location. Also create certain the ASN (organization) site does not catalog your residence ISP.

  4. In case these particulars do not equivalent your VPN server, run a WebRTC leak test and a DNS leak test using BrowserLeaks. If either of these tests doesn’t come back your VPN server’s IP address, you’ve established your culprit.

  5. If the two the leak tests arrive rear spotless but a particular location motionless gets your location wrong, the matter is apt originating from an outdated repository or virtual server. 

There’s no surefire way to resolve IP location mismatches for good. But if it happens frequently adequate to disrupt your net use, you can regard switching to a distinct VPN server and getting a browser add-on that prevents WebRTC leaks. If that doesn’t work, I’d regard purchasing a dedicated IP location that isn’t according to a virtual server. While many IP databases akin MaxMind or IP2Location additionally have ways to petition a location correction, that takes a during to go through and isn’t value the attempt unless it’s a imperishable IP location registered through your ISP.

Other Article Lifehacker Tech
↑
Close Right Ads
Close Left Ads