Sometimes, when you check the location of a server using IP based geolocation, the database may say the server is not where it is advertised. This is usually because the database is incorrect.

You can though, use tools available on the internet to help verify the approximate location of a server. This technique is based on the understanding that the closer you are to a server the shorter the ping time should be. Whilst this may not be perfect it should be able to help you determine that a server is at least close to its stated location. For example, using a UK based system I get the following ping times to various locations.

LocationDestinationTime ms
UK (UK) 48
UK (France) 49
UK (Texas, USA) 152
UK (Utah, USA) 186

From the above, we can tell that the servers in Utah and Texas are further away than the ones in the UK and France but we can't really distinguish between the UK and France. We would need to ping the servers from a number of locations and compare the results to get a more accurate result. This is where internet based tools are useful. We will use the CA Technologies Ping Test tool. This uses over 90 global locations to ping a server and displays the response time. Using the tool we can see (selected results)

Server: (London,UK) Server: (Paris, Fr) 
Test LocationTime msTest LocationTime ms
Manchester 6.6 Manchester 14
London 3.4 London 11
Edinburgh 2.1 Edinburgh 9
Lille 12 Lille 6
Milan 26 Milan 20
Berlin 21 Berlin 24
Frankfurt 11 Frankfurt 14

Interpreting the results. First, this neatly shows that this is not perfect. Edinburgh is geographically further away from London than Manchester but the results don't show this. You should discard outliers like this. For everything else closer the test location is to the target server, the shorter the ping time. You can have a reasonable confidence that the servers are in the locations stated.

At the time of writing, we have a server in Texas with the IP address that is correctly geolocated. Some of the secondary IP addresses on the Texas server e.g. are incorrectly geolocated* in Utah (the ISP's headquarter location). Let's use the ping test to see what's really happening (selected results).

Server: (Texas) Server: (Utah) 
Test LocationTime msTest LocationTime ms
Atlanta, GA 19 Atlanta, GA 19
Charlotte, NC 25 Charlotte, NC 25
Los Angeles, CA 30 Los Angeles, CA 30
Salt Lake City, UT 35 Salt Lake City, UT 34
Dallas, TX 4 Dallas, TX 4

As you can see, at the time of writing, the ping times for both IP addresses are pretty much the same and Dallas TX is only 4ms away from both. So we can be fairly sure that the geolocation is incorrect for the IP address

*we have submitted a request to the ISP to have the geolocation updated and they have agreed to do so.