How to block websites on your computer without installing software

To block websites on your computer, you can edit them right in the system without software.

Children when using computers to surf the web can be attacked by content that is not suitable for their age, or you yourself are too indulged in some websites such as Facebook, YouTube that affect your work, for example. If so, we can block any website we want on the computer browser, with an extremely simple way without having to install additional support software. You can easily block websites on Chrome or other browsers on your computer by changing the system settings. The following article will guide readers on how to block websites on all computer browsers.

Instructions to block websites using host file

Step 1:

First, we access the path C>Windows>System 32>Drives>etc to open the host file on the computer.

Picture 1 of How to block websites on your computer without installing software

Step 2:

Next right click on the host file and select Properties .

Picture 2 of How to block websites on your computer without installing software

Step 3:

Display the host Properties interface, click on the Security tab and look down at the content below. Click on Users and then click the Edit button to edit.

Picture 3 of How to block websites on your computer without installing software

Display the new interface also click on Users then check the square box at Full Control and click OK.

Picture 4 of How to block websites on your computer without installing software

If you receive a Windows Security notification, click Yes to continue and exit the open host Properties interface. This will allow the User account to edit the hosts file in case you cannot edit the content.

Picture 5 of How to block websites on your computer without installing software

Step 4:

Right click on the hosts file and select Open with to open the file via Notepad.

Picture 6 of How to block websites on your computer without installing software

Display the host file content interface. Here the user adds the line 127.0.0.1 the name of the website they want to block as shown below.

Picture 7 of How to block websites on your computer without installing software

Then click File > Save to save the changed content.

Picture 8 of How to block websites on your computer without installing software

Now try to access the website that added the host file content, such as Facebook, and get an error message as shown below.

Picture 9 of How to block websites on your computer without installing software

Continue adding names for other websites. You must add the correct website address to be able to block.

Picture 10 of How to block websites on your computer without installing software

The result has also blocked the website with an error message as shown. If the user does not want to block the website anymore, they need to delete the line 127.0.0.1 the website name added to the host file, then click Save, reload the browser to apply.

Picture 11 of How to block websites on your computer without installing software

The above operations to block any website via the host file are applied to all browsers installed on the computer. When accessing a blocked website, you will receive an error message and cannot access it.

Good luck!

Update 31 August 2024
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile