There are several reasons why it is specifically blocked websites on you computer. Some websites may be trying to steal your personal information or spread viruses. While you may be able to avoid these websites entirely, this may not be the case for others using your device. Blocking specific websites may be best in these situations.
There are several methods of blocking websites. You can block websites in all browsers, in the entire operating system or in the network router. You can set up a lock at the operating system level if you want to restrict access to websites on a single computer. This method of blocking websites is easy to set up and works in most browsers. Here’s how you can do it:
Block websites on desktop
The DNS The system, which converts easily remembered (and typed) names into equivalent IP addresses, is one of the supporting structures of the Internet. Your computer also has a feature known as a hosts file that can store this data locally to access websites that use DNS servers. You can use this to block access to unwanted websites.
Go C:\Windows\System32\drivers\etc\ on your computer
to open the hosts file, double-click it and choose Notepad from the list of available programs.
Click on ok the button The last two lines of your hosts file should read #127.0.0.1 localhost and #::1 localhost.
Select the account again and check for full control in the pop-up menu.
press apply button and then click yes option
Click on ok in all pop-up menus.
You can add website addresses to the block at the end of the file.
Close the hosts file and click the button Save the button
Restart your computer for the changes to take effect, and you’ll see that all those websites are blocked.