You are here: Blocklist Overview

Block Access to Your Web Server or Website with a .htaccess Blocklist

The IP addresses and CIDR ranges in these blocklists are for use in Apache Web Server based websites.

The .htaccess blocklists apply to people who have websites hosted by web hosting companies, using Linux/Apache based web servers, which are shared with other customers. There may be tens, or hundreds of other websites hosted on one server box and you only have control over your own domains, which are hosted on that server. Maybe you have a forum, or blog, or classified ads section that is overrun with scammers or spammers and want to keep them out. Or, perhaps your website is getting probed for vulnerabilities by other servers under the control of hackers, or your content is being "harvested" or "scraped" by competitors, or by other websites who steal your good content to use as their own. Might be you want to block an entire country from your website, or forum. In order to control who is and isn't allowed to access your web pages you can create or edit a special server file named ".htaccess" - inserting specific text "directives" that either allow or deny access to visitors based on their IP address. More details about the use of .htaccess are given on the blocklist pages.

While the .htaccess blocklists are useful for blocking access at the individual website level, there are times when it is desirable to block access to the entire server. This would include all access to the http, ftp and email portions of a web server box. The best way to block all access to a Linux based Apache web server is to apply iptables deny rules to the Linux APF Firewall. The format used in iptables firewalls is one IP address or CIDR per line, with a line feed after each. Comments must be preceeded by a pound sign (#) or the rules may throw an error. An iptables blocklist can only be applied by a person with Administrator/Root privileges on the server. If you lease or own a dedicated or VPS server, running on Linux or Unix, and have Root access, you can apply iptables blocklists to its firewall. I previously maintained and published iptables versions of my blocklists at my own expense, which are now offline. There are probably other iptables blocklists available elsewhere for a fee.

NOTE: None of these blocklists will work natively on Windows IIS based web servers. Windows does not recognize the directives or formats of our blocklists. They would need to be converted into a format that Windows Servers do understand, or a third party program would need to be installed that allows the use of "mod_authz_host" directives.


If you are ready to proceed and you have a website hosted on a shared Apache based web server, go to the .htaccess blocklists.


Wizcrafts' recommended end-user Spam email filtering solutions

For companies and end-users using POP or IMAP email clients:

Mailwasher Pro If you are tired of receiving spam, viruses and Phishing schemes in your personal computer's email inbox, why not give Mailwasher Pro a try? Mailwasher Pro is a program that intercepts and analyzes incoming email before it is delivered to your Eudora, IncrediMail, Outlook (Express), Thunderbird, or equivilant email client's inbox. Mailwasher uses a combination of Bayesian Learning Filters, a user controlled Whitelist and Blacklist, user created filters and rules, including regular expressions rules, DNS Blocklists like the Spamcop SBL, and the FirstAlert! Database of known spam as identified and reported by other Mailwasher Pro users around the World, to identify and deal with spam, scams, schemes and viruses. More details about MailWasher Pro.

I (Wizcrafts) use MailWasher Pro on all my computers and have since version 1.0. I write custom spam filters and publish them for all MailWasher Pro users to use, on a donation basis.

Back to the top of the page


The blocklists are compiled and maintained by Wizcrafts Computer Services. We are not a blocking service, just the publisher of the blocklists.

It is up to individual webmasters and server administrators to use our blocklists or not. If you are blocked by a website that uses our blocklists, take it up with them.

We make every effort possible to ensure accuracy and to minimize collateral damage, but it does happen occasionally. When notified we will investigate and may remove friendly ISPs from the CIDR that was blocking them.

No warranties are implied or stated and we are not liable for any problems that may arise from their use. Use them at your own risk.

We provide Webmaster and website security consulting services on a freelance paid basis.

If you wish to contribute new IP addresses to this list, report errors, or hire us install a custom .htaccess file for you, please contact us via our Webmaster inquiries form.

Our web hosting is provided by Hostgator, whom we highly recommend.

This web page contains affiliate advertising links to third party companies, products, services and ad networks. I may receive commissions for sales or referrals to these third party websites to help cover my costs.

This page was last updated on: Friday, 17-Mar-2023 00:15:38 CDT