Activity Stream
48,167 MEMBERS
6656 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 6 of 6
  1.     
    #1
    I r Super Cop

    Default How to redirect visitors to Country Specific Domains based on IP Address

    I am working on a personal project which requires me to redirect domains based on visitors location (IP address). Example - Canadian visitor must be directed to domain.ca or UK visitor must be sent to domain.co.uk

    I looked up google and all i managed to find is redirecting based on IP Ranges, this is a very tedious task and will take a lot of my time away. Also, i will have to keep updating the IP ranges as and when new IP ranges are added by a country.

    Is there any better method to achieve what i want? Any software or script that can do this?

    Your help will be appreciated. For a fact - I am only looking to do .com and .in as of now.

    Thanks!
    Rox Reviewed by Rox on . How to redirect visitors to Country Specific Domains based on IP Address I am working on a personal project which requires me to redirect domains based on visitors location (IP address). Example - Canadian visitor must be directed to domain.ca or UK visitor must be sent to domain.co.uk I looked up google and all i managed to find is redirecting based on IP Ranges, this is a very tedious task and will take a lot of my time away. Also, i will have to keep updating the IP ranges as and when new IP ranges are added by a country. Is there any better method to Rating: 5
    Follow besthostingforums on FB

    Looking for an Article Writer? Check out my services here.

  2.   Sponsored Links

  3.     
    #2
    Member
    i think you can get this easily from ip2location database for $49/year

  4.     
    #3
    Respected Member
    There are some free sites that do this like http://www.selfseo.com/ip_to_country.php

    Which can be called with curl problem is you never know when they will vanish.

  5.     
    #4
    I r Super Cop
    Can you shed more knowledge on curl call thing? I do not know how to do it.
    Follow besthostingforums on FB

    Looking for an Article Writer? Check out my services here.

  6.     
    #5
    Member
    This site is using a hacked database of W junction
    Last edited by Gavo; 4th Jan 2015 at 02:00 PM.

  7.     
    #6
    Member
    Its better if you use Maxmind Geo-lite db + Nginx compiled with geoip module.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Now a days which Host is Best for country based Sale without USA ???
    By syedborhan in forum File Host Discussion
    Replies: 0
    Last Post: 4th Sep 2012, 08:10 AM
  2. Redirect all other domains to .com
    By Sponge Bob in forum Webmasters, Money Making
    Replies: 3
    Last Post: 24th Feb 2012, 06:42 AM
  3. How to ignore spammers from specific country?
    By namdatviet in forum Technical Help Desk Support
    Replies: 5
    Last Post: 19th Apr 2011, 01:42 PM
  4. [Selling] World Wide, Country Wise, US/UK/CAN Traffic Order || REAL Visitors ADSENSE Safe
    By intensecool in forum Completed Transactions
    Replies: 0
    Last Post: 26th Oct 2010, 05:58 PM
  5. [Selling] Specific domains for sale.....
    By Mister Domain in forum Completed Transactions
    Replies: 0
    Last Post: 19th Aug 2010, 01:48 PM

Tags for this Thread

BE SOCIAL