how do I block access to a web site or domain?

User avatar
root
Site Admin
Posts: 6372
Joined: Sun Feb 20, 2022 9:53 am
Contact:

how do I block access to a web site or domain?

Post by root »

on windows (or linux), edit your hosts file (or hosts.dat).

you must be administrater to edit this file.

windows: c:\windows\system32\devices\etc\hosts
linux: /etc/hosts.dat


add an entry for the domain name to block:

127.0.0.1 amazon.com


once added, and saved, you will not be able to access that domain, allowing you to block requests to that domain

Return to “Ask a Question”

Who is online

Users browsing this forum: No registered users and 1 guest