Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
GeoIP2 maxmind is there a free version ?
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

GeoIP2 maxmind is there a free version ?

mehargagsmehargags Member

I have been trying to find if there is a way to use free version of Mamind's GeoIP2 Country Database. I would like to automate updates using libmaxminddb and enabling maxminddb_module for a WHM CentOS7 server. I created an account on Maxmind, generated license key but when I try to wget with download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=xxx-Lic-Key&suffix=tar.gz it always says unauthorized.

If I read here https://www.maxmind.com/en/geoip2-precision-country-service it tells you to buy credits and then use them as per query.

I read many guides but all seem redundant now as Maxmind pulled their legacy databases.

My purpose is to have visitors from a China be served the site from Chinese domain (on Alibaba cloud) and rest of the world gets the English Site in UK. What would be the best approach ?

Thanks

Comments

  • mrclownmrclown Member

    Maxmind has couple of modules available for you to integrate with existing system. I think their yearly isn't that expensive too.

    You can develop using maxmind db free editions or some other free database like (https://iptoasn.com/)

    Thanked by 1doughnet

    signature for rent - ^_^

  • FranciscoFrancisco Top Provider

    if you're using wget make sure you wrap the URL in " " otherwise the & will be read by the shell.

    So,

    wget "download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=xxx-Lic-Key&suffix=tar.gz"
    

    Francisco

    BuyVM - Free DirectAdmin, Softaculous, & Blesta! / Anycast Support! / Windows 2008, 2012, & 2016! / Unmetered Bandwidth!
    BuyShared - Shared & Reseller Hosting / cPanel + Softaculous + CloudLinux / Pure SSD! / Free Dedicated IP Address
  • LESLES Member

    You can detect the browser language with a script and redirect or use IP address lists aggregated by country: http://ipverse.net

    Thanked by 1CConner

    Cheap VPS Deals ★ LowEndStock.com ★ | → Follow @ Twitter

  • arw55arw55 Member
    edited June 23

    You can enable Cloudflare IP Geolocation: https://support.cloudflare.com/hc/en-us/articles/200168236-Configuring-Cloudflare-IP-Geolocation

    It's available in free plan.

    Thanked by 2CConner mehargags
  • dunno about the price difference but ipinfo.io have some decent API

  • I'm using their GeoLite2 DB.

    wget "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&suffix=tar.gz&license_key=YOUR_LICENSE_KEY"
    
    

    It's always free.

    Thanked by 1mehargags

    Easy Website Backup Script: easybackup Extremely affordable FTP backup storage: 1Fichier

Sign In or Register to comment.