0

I am very new to this field, and would like to get an explanation on the mechanism of the below.

When I check the location of a host server, sometimes they show the location differently.
For example, let's say I check the location of the server for "https://serverfault.com/", they show three different locations - Quebec, California and Chicago.

I would like to know the mechanism behind why this happens.
Is there a method to know the accurate location?

1
  • Of course, none of them are "correct", meaning they do not tell you where Stack Overflow's servers are. Commented Jun 12, 2021 at 13:42

1 Answer 1

2

There is no science here. Each of the companies offering the IP based geolocation in your link uses their own database. They clearly do not agree on where 151.101.129.69 is located.

The Maxmind DB entry has it located at (what appears to be) their default location for the USA.

If there is any science at work then (in this case) it is likely being confused by the use of fastly's CDN.

It is possible with some effort to try to determine the location of a server based on IP address but it is easily confused by the use of CDNs etc. You basically have to follow the packets from multiple source locations and work out where you think things really are.

IP based geolocation is snake oil, but it's the best snake oil we have.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.