Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for some simple way to determine the country a user is viewing the site from, it's only a branding issue and not a legality issue, so a few false positives won't matter so much.

Apaches mod_geoip seems to be just what I'm looking for but there's no indication of how accurate it is.

Does anyone have any hard figures on accuracy?

  • How many users out of a 1000 were accurately located at the country level?
  • How many down to a City level?
  • Any particular areas of decreased reliability (South America, Australasia)?

Alternatively, is there another fast, reliable Geolocation solution I could use? (3rd party web services aren't really an option, too much overhead to be worth it)

share|improve this question
up vote 2 down vote accepted

mod_geoip is just a way to interface with maxminds databases.

they are the ones who actually provide the databases of ip -> country/city.

a good place to start checking their accuracy would be

note, the city based database is not free. the country based one does come in a free version.


share|improve this answer
Yep that's what I was looking for, found this on their site: States 99.5% accuracy for the free version. And given that they're not making money off it I would imagine that's not too much of an exageration. Thanks. – Paystey May 17 '12 at 8:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.