M Mr-Pro Verified User Joined Dec 19, 2017 Messages 30 Mar 28, 2020 #1 Hello guys , I have a domain named generaldomain.com . I want to redirect Visitors from Germany to dedomain.com and Visitors from France to frdomain.com . Can I do that ? I'm using directadmin + nginx_apache webserver . Regards ,
Hello guys , I have a domain named generaldomain.com . I want to redirect Visitors from Germany to dedomain.com and Visitors from France to frdomain.com . Can I do that ? I'm using directadmin + nginx_apache webserver . Regards ,
M Mr-Pro Verified User Joined Dec 19, 2017 Messages 30 Mar 28, 2020 #2 I have configured nginx with geoip module but it seems the database is not updated anymore ! I used this to install geoip : cd /usr/local/directadmin/custombuild mkdir -p custom/nginx_reverse cp -p configure/nginx_reverse/configure.nginx custom/nginx_reverse/configure.nginx perl -pi -e 's#"--group=nginx" \\#"--group=nginx" \\\n\t"--with-http_geoip_module" \\#' custom/nginx_reverse/configure.nginx ./build nginx how can I install geoip2 for nginx? or maybe where can I get an updated GEOIP.DAT file?
I have configured nginx with geoip module but it seems the database is not updated anymore ! I used this to install geoip : cd /usr/local/directadmin/custombuild mkdir -p custom/nginx_reverse cp -p configure/nginx_reverse/configure.nginx custom/nginx_reverse/configure.nginx perl -pi -e 's#"--group=nginx" \\#"--group=nginx" \\\n\t"--with-http_geoip_module" \\#' custom/nginx_reverse/configure.nginx ./build nginx how can I install geoip2 for nginx? or maybe where can I get an updated GEOIP.DAT file?
Zhenyapan Verified User Joined Feb 23, 2018 Messages 2,328 Location UA Mar 28, 2020 #3 I'm not sure but look for MaxMind DB
M Mr-Pro Verified User Joined Dec 19, 2017 Messages 30 Mar 28, 2020 #4 yeah that was it , problem solved . please close the thread .
Zhenyapan Verified User Joined Feb 23, 2018 Messages 2,328 Location UA Mar 28, 2020 #5 Mr-Pro said: yeah that was it , problem solved . please close the thread . Click to expand... please describe step-by-step how to realize your case for next forum visitors, it will increase your "karma"
Mr-Pro said: yeah that was it , problem solved . please close the thread . Click to expand... please describe step-by-step how to realize your case for next forum visitors, it will increase your "karma"