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”)
allow from all
deny from 126.96.36.199
deny from 166.91
deny from 188.8.131.52 - 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.