I want to know if there is a way to block some countries so they won't be able to access my website. Is it got to do some thing with .htacess file ?
I want to know if there is a way to block some countries so they won't be able to access my website. Is it got to do some thing with .htacess file ? Umar Haroon |
Vunderba..... Challenge Yourself to be the Best...... Hosting from Zarconia.net |
You can block countries with build-in tools: Go to Admin Panel -> Tools -> Antispam Tools -> Settings: Turn on "Enable DNS Block Lists" setting. Then go to Admin Panel -> Tools -> Antispam Tools -> DNS Blocklists -> click "Add":
Chain: spammers Domain zone: XX.countries.nerd.dk. XX is country code, for example to block China, replace XX with cn, all country codes can be found here. Return value: 127.0.0.2 URL: http://countries.nerd.dk/ Recheck URL: leave empty, there is no recheck url for this DNSBL Comment: your comment, for example full country name Active: YES or NO
It is also possible to whitelist some countries and block all others, here is an example on how to do this: http://www.boonex.com/forums/topic/How-To-Ban-Countries.htm#158297 Rules → http://www.boonex.com/terms |
Thanks both of you :) Umar Haroon |