Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Allow Access from two IPs Only

Discussion in 'General Discussion' started by tiascott, Nov 19, 2004.

  1. tiascott

    tiascott Member

    Joined:
    Feb 5, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    I would like to know if there is a way to block all IP address to a sub domain and only allow two computers (IPs) to view that domain name. Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    You need to do some research on .htaccess files and the allow and deny features it has.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. tiascott

    tiascott Member

    Joined:
    Feb 5, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    thanks. I was thinking about that but I thought maybe there was a way from Cpanel itself
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice