Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 06:38:22 PM

Pages: [1]   Go Down
  Print  
Author Topic: Blocking all IP Addresses From A Country  (Read 1631 times)
afbarnes
Trekkie
**
Offline Offline

Posts: 12


« on: May 22, 2010, 06:09:23 PM »

I created a free online dating site (FirstDatePage.com) and I would like to block all the IP addresses from a given country until I implement support for the given country.  What's the best way to do this?
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #1 on: May 23, 2010, 08:15:50 AM »

IP addresses don't neatly correspond to countries, so it's likely to be an imperfect match (i.e., you may fail to block some addresses in a country, or you may end up blocking some addresses that you don't want to). Google ip block by country for many sites listing IP address ranges. A couple of sites it returns: http://www.countryipblocks.net/ and http://www.blockacountry.com/. I haven't tried either of them and can't offer any endorsements.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: