Home Internet Block Visitors by Country for your Website

Block Visitors by Country for your Website

Block-Visitors-by-Country-for-your-WebsiteBlock Visitors by Country for your Website :-

If you are a website owner, in some condition ,you need to block some specific countries or IP-address because they are trying to spam your website or hack your website.

Today i am going to show you How to Block Visitors by Country for your Website ?

1. Use CloudFlare :-

CloudFlare is really nice service to block your website for particular country. To use Cloudflare, you need to be change the dns address of own server to cloudflare dns server.If You are using Hostgator hosting services, you can easily enable it with your cpanel, without changing your dns address. When you configure it. go to the Threat control

Block-Visitors-by-Country-for-your-Website

and enter the your Country name or IP-address

Block-Visitors-by-Country-for-your-Website1

The htaccess file is a configuration file which is used on Apache based web servers to control many features of the server. The file itself is just a small basic text file and can be edited, via notepad, or your hosts file manager, thru c-panel redirects or alternatively you can download the .htaccess file from your server’s home public_html folder, edit it and reupload it FTP using programs like FileZilla or Adobe Dreamweaver.

2.Block Visitors by Country | IP2Location.com :-

This site is really providing the nice service to create htaccess file entry for particular country. Select your country and click on the Download option. and add it in your htaccess file.

Block-Visitors-by-Country-for-your-Website1

3. HTACCESS Block Country by IP Range- IncrediBILL’s HTACCESS

Block-Visitors-by-Country-for-your-Website1

With above mentioned methods, you can easily block the specific country visitors on your site.

Hope you like my post.Block Visitors by Country for your Website. Please Share with others.

Previous articleRun your LiveCD on Windows with MobaLiveCD
Next articleFind Out Which USB Devices Have Been Used on Your PC