Welcome to Web Hosting Forum - Net Hosting Talk

Register now and be part of our community! When you register with the Net Hosting Talk you can join in with topics, start new topics, and generally be a part of the first level of our community. It's also quick and totally free, so what are you waiting for?

Redirect to the site of the country ip

real

Newbie
Messages
7
Reaction score
0
Good day!

Tell me how to make a redirect to the site c ua, ru, com - depending on what country ip to come in?

Thanks in advance!
 

tuxandrew

Newbie
Messages
8
Reaction score
0
If you have an Apache-PHP based server, you can install Mod_GeoIP and Geoip.

1. Mod_GeoIP Apache module that can be used to get the geographic location of the IP address of the visitor into the Apache webserver. This module allows you to determine the visitor’s country, organization, and location. It is especially useful for Geo Ad Serving, Target Content, Spam Fighting, Fraud Detection, Redirecting/Blocking visitors based on their country and much more.

2. GeoIP stands for geographic information of IP Addresses. It is a PHP extension used to find the geographic location of an IP Address (eg:- Country, state, latitude) and other information like ISP, connection type etc.
 

Advertisement

Top