Knowledgebase: Control Panel
I wish to block an IP or domain from accessing my website
Posted by Barry Tarbet on 10 November 2008 04:49 AM

This document describes the Web Access Control resource which allows Linux users to add and configure web access for their domains to different locations. You can allow or deny access for domain names or IP addresses (groups of IPs).

To add Web Access Control in your User CP:

  1. Go to Domain Settings - > Web Options
  2. Scroll down to Web Access Control and click Add. Configure the form that shows.
    • Enter Location which provides for access control by URL
    • If Current Default Access Rule=allow, this location/web directory will be available for all domain names/IPs.
    • If Current Default Access Rule=deny, this location will be denied for all.
  3. Submit to confirm.

By editing the "web access control" resource you can add, delete, upload and export allowed or denied domain names/IPs.

Current Default Access Rule: if necessary, you can change current default access rule.
  • Deny Domains/IPs list: you can delete any domain or IP from the list
    If current default access rule=allow, you can define the list of domain names/IPs which have no access. If current default access rule=deny, you can allow access to defined domain names/IPs.
  • Domain: type in a new domain and click Add
  • Add IP address and Mask.
  • Manage Domains/IPs: you can upload list domains/IPs from file and export existing list to file. If you define a group of IPs, you should add mask with the "/" in front of it, e.g:
    Note: Don't forget about permissions on directories to where you want to upload/export files. If you don't have permissions to read/write files, you cant' upload/export your lists.

if you need further assistance, please do not hesitate to contact OccHosting Support by creating a Support Ticket at

(154 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).