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 22.214.171.124
- Allow from 126.96.36.199
You need to login to post a comment.