How to block any website in windows pc
How to block any website in windows pc
Blocking a website on a Windows PC can be done easily by editing the Hosts file. Here’s a step-by-step guide:
Open Notepad as Administrator:
Click on the Start menu, type Notepad, right-click on it, and select Run as administrator.
Access the Hosts File:
In Notepad, go to File > Open.
Navigate to C:\Windows\System32\drivers\etc.
Change the file type from Text Documents (*.txt) to All Files.
Select the hosts file and open it.
Edit the Hosts File:
At the end of the file, add a new line for each website you want to block.
Type 127.0.0.1 followed by a space and the website address (e.g., 127.0.0.1 www.example.com).
Save the Hosts File:
Save the changes by clicking File > Save.
Test the Blocking:
Open your web browser and try to access the websites you added. You should see an error message or a blank page, indicating the site is blocked12.
This method blocks the websites across all browsers on your Windows PC. If you need to unblock a site, simply remove its entry from the Hosts file and save the changes.
Would you like to know more about other methods or tools for blocking websites?
|| #Computer #window11 #tech #laptop #computertips #laptoptips #technology #pctipsandtricks #shorts #reelindia #reels #pctips #ɪɴsᴛᴀʀᴇᴇʟs
Comments
Comments from the original post on Instagram
No comments yet
