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