Home Tools Proxy Speed Test Web Counter

Free Online Tools

.htaccess Ban Generator

Restrict by IP address or Domain

You can use .htaccess to ban or allow access to your web site by IP address or Domain.

Enter IPs, followed by line break. List IP addresses. List one IP address per line.

Your IP List:



Deny browser access to generated .htaccess file. This is only needed if:
Your .htaccess file is in a web accessible directory.
Your server isn't configured to disable browser access to .htaccess. (this is not common)
Redirect. Send the visitor to this url http://google.com if they are denied access. You can change the URL with other website:)