How To Block Websites on Windows 10/11 with Host File Latest 2023

How To Block Websites on Windows 10: The world of internet is a pool of numerous websites which has turned everything digital. This composition is going to navigate you impeccably through the way you need to follow in order to negotiate it. How To Block Websites on Windows 10/

How To Block Websites on Windows 10 STEPS TO BLOCK WEBSITES BY MODIFYING WINDOWS HOST FILE

Step 1 – Open your file discoverer copy & paste the given path below to address bar and go to etc file.

C:\Windows\System32\drivers\etc

Step 2 – Now, Right click and copy the hosts file and paste it somewhere else on your computer. copy & paste on desktop.

Step 3 – Go to desktop and pasted file & click on open with.

Step 4 – Now, choose notepad open file notepad.

Step 5 – Once the file opens up, Just make sure to change the websitename with the name of the file which you want to block.

127.0.0.1      www.websitename.com

127.0.0.1      websitename.com

STEP 6 – Now, save the changes to the file.

After copy and paste this newly created file back again etc folder. The original file will get replaced.

STEP 7

How to redirect Blocked website to another website

Open up the command prompt and type ping sitename.com.This will give you the IP address of the site.

IPaddress websitename.com

IPaddress is the address you have presently entered from command advisement and website name is the name of the point you want to deflect to another point.

In my case, I’m turning the pointhello.com to the Google’s point which has the IP address 216.58.220.40. From now on the Google’s point opens up when you search for hello.com.

How To Block Websites on Windows 10/11 FAQS

How to redirect Blocked website to another website?

Now suppose that you need to make any other website open up when your friends secretly try to open up the site you had opposed. Lets see how it can be done.
Open up the command prompt and type ping sitename.com. The sitename is the name of the site to which you want the website to be redirected on. Say for example you need to redirect to google.com, you can type ping google.com. This will give you the IP address of the site.

Leave a Comment