Editor choice

How to block sites on computer without using Software

Sometimes it’s become necessary to block some internet site on our computer. Like porn websites that you only want to block to prevent your children from access and social sites in your employees. There are so many software to block websites on computer and add-ons for the browser. Why should you pay to buy third party software to block the website? When you can block websites on your computer with windows built in feature.


Read Also:

  1. How To Get WiFi Password of your Friends without Rooting
  2. How To Remove Duplicate Contacts from Android | 2016

I will tell you the easy way to block the internet site on your computer. The job is very easy, and there is various software which you can find on the internet these days. However, why do we need to use a software program which can be achieved by a secure and very easy method of Windows, and this method does the job even in a simpler way than using software.

Step to block sites on Computer without using software

Step 1. First of all, Go to “Start” and then click on “Run” (Windows Key+R).

Step 2. Type C:/ windows/system32/drivers/etc/hosts copy and past it in Run and hit enter.

block sites

Step 3. Now open the ‘hosts‘ file in Notepad.

block sites

Step 4. Type 127.0.0.1 example.com (Website that you want to block) bellow the 127.0.0.1 local host.

Step 5. Save it. Now try to open the website that you have blocked, you will see that the website is not opening.

Step 6. That’s it! Now, you’re done.

What’s Hosts File?

A hosts file is a plain textual content file in an operating system which is used to map hostnames to IP addresses. Let me clarify the way it works in easy English.

For example, you want to start Fb.com [hostname]. Often, the PC checks the hosts file first to try out similar IP handle of the hostname. If the search is useful, it makes use of the mapped IP handle. If the search is just not useful, it finds the IP handle of the hostname by sending a question to the DNS.


We hope you enjoy the article ‘How to block sites on computer without using Software.’ Stay tuned for more updates.

Read Next → How to add a video to a Microsoft PowerPoint presentation


For Latest update like above Follow us on  FACEBOOK    TWITTER    GOOGLE+
Compsmag - Tech News, Best lists, Reviews and How to Tutorials