You can prevent certain visitors from accessing your website. You can
deny access to:
- Individual IP addresses (for example,
192.168.1.110
) - Subnets of IP addresses (for example,
127.0.0.1/8
) - Specific host names (for example,
example.com
) - Everyone (by using an asterisk “
*
” character )
Blocked visitors will receive a “403 Forbidden” error message when
trying to browse your website.
To configure access to your website:
- Go to Websites & Domains > Apache & nginx Settings.
- Under Deny access to the site, select the Enter custom value
radio button. - Type in or delete the desired IP addresses, subnets, or hostnames.
- If you blocked a subnet, but would like to allow one or more IP
addresses belonging to it to access your website, type them in the
Excluding field. - Click OK.