There was a problem loading the comments.

How do I block IP addresses and domains from accessing my website?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
Login to your CLIENT HMS account.

Locate the plan you want to work with, select a domain from the "Select Domain" dropdown and click on the "Htaccess" icon under the "Select Control Panel Function" table.

Under the "Create Rule" table please specify the following values:

Select Directory: Select the directory you want to setup the rule for. "/" indicates the domain root directory.

If you setup a rule for the root directory such as blocking the IP address "123.123.123.123" and then setup another rule for a sub directory within the root of the domain the root htaccess file will override all subdirectory htaccess files.

Select Rule: Select "IP Address Banning" and click on "Proceed to Create Rule".

Enter the IP addresses or domain names you want to block from your website. Please enter one value per line.

Click on "Save Settings" You will be redirected to the main htaccess management page.

The rule you just created will appear under the "Existing Rules" table.

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© Way3 Hosting