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