If for some reason you would want to deny everyone or allow only a specific group of IP addresses to access your website, add the following code to your .htaccess file:
- ErrorDocument 403 http://www.domainname.com
- Order deny,allow
- Deny from all
- Allow from 184.108.40.206
- Allow from 220.127.116.11
You need to login to post a comment.