On Windows 11, you have multiple ways to block time-consuming or distracting websites.
For example, using Google Chrome, you’re able to installextensions to block websites.
you might also use third-party software ormake rules in the firewallto prevent specific sites from opening on your equipment.

Why to Edit the Hosts file?
- pop fire up File Explorer on your PC and double-tap on your system installation drive.
On the System installation drive (usually Local Disk (C:)), double choose theWindows.

On the Windows folder, find and double-choose thesystem32folder.
On the system32 folder, find thedriversfolder.
If you cant find the drivers folder, utilize the search option to find it.

On the drivers folder, double-press the,etcfolder.
On the etc folder, poke the view button on the top bar and selectShow > Hidden items.
Now, you will find a file namedHosts.

How to Block Websites Using Hosts File?
Then, double-tap on the Hosts file and selectNotepadto open it.
If you want to block any website, ydd a line at the bottom of the host file.

You canadd as many websites to the host file as you want.
The web address should appear after 0.0.0.0
Once youve done this, click theFilebutton and select theSaveoption.
This will block the website on your Windows 11 PC.

If you want to unblock the website, you need todelete the line you have addetoin the host file.
This is how you might edit the host file in Windows 11 to block websites.
Now, whenever you attempt to visit the site, you will see a screen like the one below.

How to Hide Apps in Realme Phones
Google Chrome Not Saving Password?
8 Ways to Fix it
How To Fix Mobile Hotspot Connected but No Internet on Android





