+5 votes
107 views
websites - that's how it works

in Block Windows by (552k points)
reopened | 107 views

1 Answer

+3 votes
Best answer

How to block websites in Windows
1st step:
2nd step:
3rd step:
4th step:
5th step:
quick start Guide

Would you like to block access to certain websites so that they can no longer be accessed? We show how it's done.

image image

Image: <span> silvabom / Shutterstock.com </span>

If you use a Windows PC and want to block individual websites, this works via an entry in the hosts file in the system. This entry acts as a website blocker and blocks the page you have selected on the entire computer - no matter which browser you are currently using. We explain below where you can find this file and how you block a page.

How to block websites in Windows

Follow our step-by-step instructions or take a look at the brief instructions ..

1st step:

image
Click the Windows button ⊞ in the lower left and enter " editor ". Windows will automatically find the right program. Right click on the entry and select "Run as administrator ". Enter your user data.

2nd step:

image
Then navigate to " Open " via " File ". Alternatively, the key combination [Ctrl] + [O] also works.

3rd step:

image
You must now call up the path " C: \ Windows \ System32 \ drivers \ etc ", in which the hosts file is located. Either click your way to the destination path or copy the path directly into the field. To ensure that files are also found, switch from "Text files only" to " All files ". Open " hosts " with a double click.

4th step:

image
You will now see the standard hosts file with no entries. To add an entry, you have to enter the address of the localhost (i.e. your PC) and the page to be blocked. The address is always 127.0.0.1. For example, if you want to block facebook.com, enter the following entry: 127.0.0.1 www.facebook.com. Attention: There is a space between the address and the URL. Save the file with [Ctrl] + [S] .

5th step:

image
To check whether the blocking of the website works, open a browser of your choice and enter the URL of the blocked website. As you can see in the screenshot, we can no longer access facebook.com. If you want to undo the blocking, you can simply delete the entry in the host file.

quick start Guide

  1. Open the editor or a text program of your choice as administrator.
  2. Go to the file explorer via " File "> " Open ".
  3. Then navigate to the path " C: \ Windows \ System32 \ drivers \ etc ".
  4. Instead of choosing Text Files > All Files , you can see the hosts file.
  5. Open this and enter a new entry for blocking in the form: "127.0.0.1 www.blockiertereite.de".
  6. Save the document and check in the browser of your choice that the page is blocked successfully.

by (3.5m points)

Related questions

+5 votes
1 answer
asked Nov 15, 2021 in Tips & Tricks by backtothefuture (552k points) | 85 views
+3 votes
1 answer
asked Jan 3, 2022 in Tips & Tricks by backtothefuture (552k points) | 129 views
+4 votes
1 answer
asked Jan 2, 2022 in Block apps / software by backtothefuture (552k points) | 89 views
+4 votes
1 answer
asked Dec 31, 2021 in Apps / software by backtothefuture (552k points) | 105 views
+3 votes
1 answer
asked Dec 30, 2021 in Tips & Tricks by backtothefuture (552k points) | 102 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users