How To Block Websites From Internet Access In Windows

Block websites: After the invention of the Internet, the world moved into a new dimension. We can get anything from the Internet.

If you need some information about an organization, Hospital, courses offered by different Universities and what not? Everything that you think of is available on the internet.

Getting benefited by a certain thing is entirely depends on the way how we use it. Gone are the days to go to different institutions to learn new courses.

Now, with the help of the internet, you can learn without spending a single penny. Apart from those useful things, there are some bad things which we all aware of.

Our younger sisters and brothers or children who are minors should not browse some of the websites. Along with the exposure of world cinema and different reality shows internet provides adult content which in turn spoils our children. We should take some steps to avoid those websites which have adult content.

In this article, we will see

How to Block a Website in Windows

To block websites from internet access, we have to edit a file called the host. Please follow the steps

Step 1: Please go to C:\Windows\System32\drivers\etc. You can find the hosts file. This is for Windows XP, Vista, and 7 If the OS is installed on C drive. If not then go to OS installed directory. You have to simply replace C: with OS installed drive name.

Step 2: Edit the file named hosts using notepad or notepad++. I have opened using Notepad++

Step 3: Now, we have to make an entry after the last line to block any website.

Step 4: Please check the following entry which I made.

In the above entry you can see that block1website.com, block2website.com has been added.

Now, I cannot access both websites from my system

Step 4: After the entries made, please save the file and restart your computer to test the changes.

Final Words

We have seen How To Block Websites from Internet access. Hope you understood the process. Please block adult sites, so then you can protect your children and younger sibling from watching [email protected] sites. Feel free to ask questions if you have any.

Abdullah is the founder of WapTechs He is passionate about blogging and wants to share knowledge with others. His passion, dedication, and quick decision-making quality make him stand from others.

Leave a comment