Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Member
    Join Date
    Oct 2009
    Posts
    6

    Default Restricting public access for one account

    I'm using account on my VPS server just for testing and have one domain and two sites on the account.

    As I don't want the sites on this particular account to be accessible by others, I'm using the domain root .htaccess file to block all IP's except my own home network IP.

    I have a custom 403 error message in the root for the only domain on the account, displaying that this is a private site.

    My question is, if this is very much wrong method and must be done more properly?

    If it's somewhat ok, I might have a little problem though, as the account error log is displaying the VPS server accounts shared IP as "client denied" for the WordPress wp-cron.php file.

    What comes to my mind is to exclude this VPS server accounts shared IP if that would be appropriate, or what?

    This is the deny rule in the .htaccess file (without my own ip adress):

    Code:
    # ALLOW ONLY IPs
    <Limit GET POST PUT>
     Order Deny,Allow
     Deny from all
     Allow from 
    </Limit>
    ErrorDocument 403 /nameofcustomerrormess.html
    <Files /nameofcustomerrormess.html>
     Order Allow,Deny
     Allow from all
    </Files>

    I'm on: cPanel 11.25.0-R46156 - WHM 11.25.0
    Last edited by xioplox; 07-19-2010 at 07:35 AM.

Similar Threads & Tags
Similar threads

  1. Restricting access security hep
    By tom007 in forum Security
    Replies: 1
    Last Post: 11-15-2006, 05:27 PM
  2. Restricting access to cPanel
    By peterstannard in forum E-mail Discussions
    Replies: 5
    Last Post: 03-06-2005, 08:16 PM
  3. restricting user access
    By gingercatnz in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-08-2004, 12:12 AM
  4. restricting cpanel access to ip ranges
    By katz_global in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-20-2004, 12:02 PM
  5. Restricting FTP access
    By Typhoon in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-25-2001, 08:21 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube