How to Block Websites on Computer without Software

How to Block Websites on Computer without Software

You can block websites on Windows computer by using the hosts file.

You can use this method to prevent your household or friends from accessing specific websites on your computer.

What is Hosts File?

A hosts file is a plain text file in an operating system which is used to map hostnames to IP addresses. Let me explain how it works in simple English.

For example, you want to launch [hostname]. Usually, the computer checks the hosts file first to find corresponding IP address of the hostname.

If the search is successful, it uses the mapped IP address. If the search is not successful, it finds the IP address of the hostname by sending a query to the DNS.

Here, we are going to map the hostname to your local host IP address to block websites.

It is every parents dream that his children can’t able to use some particular website like Facebook, Instagram or any other adult websites so the question is how to block any particular website without telling to other, So here we are today in this article we will guide you to how to block any website with-out any software.

In this article we will discuss the simplest method of how to block any website in computer without using any software read this full article.

Step 1: In the first step open “RUN” from the start menu or press “WinKey + R” and type the given path or you can simply copy paste and then press enter.  “notepad %windir%\system32\drivers\etc\hosts” After pressing enter key hosts file will open in notepad.

Step 2: Now at the end of file you can see a local host address like “ localhost”.

Step 3: Under “ localhost” just add another website URL that you want to block.

For Example:- localhost etc..

Step 4: Edit the file and click on save you are all done and if you add more website then make sure that the last digit should be different in every website

Note:- If you want to again use these website then simply undo these step of delete these website name form host file then you are again able to use these website

I hope the information in this post is useful to you. If you find the information in this post useful, share this post with your friends.

Leave a Reply