Banning people


#1

How (if it is possible) do I ban people from visiting my domain/website. I can get the i.p adress.


#2

Create a .htaccess file in the directory of the website you if you want to block them from seeing the whole site then you would use the first root directory of the site. (ex. ā€œdigitalrundown.com/.htaccessā€)

order allow,deny allow from all deny from 166.91.10.142 deny from 166.91

deny from 166.91.10.142 - blocks a specific ip address
deny from 166.91 blocks a range everything after 166.91.x.x is blocked.

There is a whole kbase article here on how to block a directory so iā€™m assuming if you blocked the main directory it would block the viewing the whole site.

https://panel.dreamhost.com/kbase/index.cgi?area=215

willscorner.net