How do i ban IP from my website?

Discussion in 'AdSense' started by ardley216, Mar 22, 2008.

  1. #1
    i am getting A LOT of visits, about 200 a day from one IP, and i am worried he is click bombing me, how do i ban him from my websites?

    thanks!

    EDIT: i have added the ip to my IP Deny Manager on my Cpanel... but the IP is visting one of my subdomains... would this still ban him? or is there a program i need to download?
     
    ardley216, Mar 22, 2008 IP
  2. cuuci

    cuuci Peon

    Messages:
    77
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Study Cpanel carefully and you can do this within Cpanel
     
    cuuci, Mar 22, 2008 IP
  3. SubmitShop

    SubmitShop Banned

    Messages:
    844
    Likes Received:
    106
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can use the .htaccess file to ban any IP to access your website
     
    SubmitShop, Mar 22, 2008 IP
  4. Crux

    Crux Well-Known Member

    Messages:
    704
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    130
    #4
    If You Added Ip To Ip Deny Manager, It Will Also Ban Him From Subdomains
     
    Crux, Mar 22, 2008 IP
  5. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #5
    Smyrl, Mar 22, 2008 IP
  6. XTreMe

    XTreMe Banned

    Messages:
    1,226
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Simple java script script to ban someone from your site!

     
    XTreMe, Mar 22, 2008 IP
  7. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #7
    XTreMe, will JavaScript solution work if I have JavaScript turned off?
     
    Smyrl, Mar 22, 2008 IP
  8. XTreMe

    XTreMe Banned

    Messages:
    1,226
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #8
    XTreMe, Mar 22, 2008 IP
  9. ardley216

    ardley216 Peon

    Messages:
    499
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    ok cool, i have added the IP to the IP Deny Manager, i hope this works, i have emailed google, and how or where do i put that java script?

    thanks everyone so far! ;)
     
    ardley216, Mar 22, 2008 IP
  10. cheapez

    cheapez Active Member

    Messages:
    1,123
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    78
    #10
    Maybe he just like your site so much.
    but one visitor is nothing, you can banned him using .htaccess

    BAn IP address.

    <Files *>
    order deny,allow
    deny from all
    allow from 12.345.67.890
    allow from .*domain\.com.*
    </Files>
    Code (markup):
    Or

    Deny or Allow Domain Access for a Specified IP Address Range

    <Files *>
    order allow,deny
    allow from all
    deny from 10.1.0.0/16
    deny from 80.0.0/8
    </Files>
    Code (markup):
    Put that .htaccess file in every subdomain you have.
     
    cheapez, Mar 22, 2008 IP
  11. zexy

    zexy Guest

    Messages:
    7,223
    Likes Received:
    348
    Best Answers:
    0
    Trophy Points:
    0
    #11
    .htaccess is the easiest way to ban IP addresses.
     
    zexy, Mar 22, 2008 IP
  12. ardley216

    ardley216 Peon

    Messages:
    499
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #12
    i'll do that then! thanks guys! :D
     
    ardley216, Mar 22, 2008 IP
  13. chpwriter

    chpwriter Guest

    Messages:
    92
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Good to learn here how to do it using .htaccess but i would do differently through asp. I request everytime for the IP so I can block one IP very easily.
     
    chpwriter, Mar 22, 2008 IP