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!

Domain Blocking

Discussion in 'General Discussion' started by La_Shawn, Aug 14, 2005.

  1. La_Shawn

    La_Shawn Registered

    Joined:
    Aug 4, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    I want to block certain domains from accessing my site, and I know this is done by adding code the the .htaccess file. How do I do this? Can someone give me an example of what the code should look like and where it should be placed in the file? Thanks.
     
  2. vivek

    vivek Well-Known Member

    Joined:
    Mar 2, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    India
    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