Skip to player
Skip to main content
Skip to footer
Search
Connect
Watch fullscreen
Like
Comments
Bookmark
Share
Add to Playlist
Report
How to Block Any Website Using Hosts File in Windows 10?
TechTips
Follow
9/11/2019
How to Block Any Website Using Hosts File in Windows 10?
Step 1: Click on Search box, and then do a search for 'Notepad.'
Step 2: Right click on Notepad, and then click on 'Run as Administrator.'
Step 3: Now, go to file, and then click on 'Open.'
Step 4: Go to the location of hosts file (C:\Windows\System32\drivers\etc).
Step 5: Click on Dropdown in notepad, and then click on 'All Files.'
Step 6: Select the hosts file by clicking on it, and then click on open button.
Step 7: Now, go to the end of the file, and hit enter.
Step 8: In new line type the format like below to block any website.
127.0.0.1 www.website_that_you_want_to_block.com
so, suppose if i want to block facebook.com, I will type like this:-
127.0.0.1 www.facebook.com
Step 9: After that, click on 'File,' and then click on 'save.'
Thanks for watching, please like and subscribe
==============================================
https://www.facebook.com/HowtoTutorialsByAmit/
Category
🤖
Tech
Recommended
2:43
|
Up next
How to Block 'Pop-up Windows' in Firefox Browser on Windows 10?
TechTips
1/13/2020
2:35
How to Block Pop Ups in Google Chrome on Windows 10?
TechTips
10/10/2019
2:07
How To Block Websites In Google Chrome -2016 ?
TechTips
2/6/2016
7:03
How to Protect Google Chrome With Password on Windows 10?
TechTips
4/2/2019
2:19
How to Change WiFi Network Type from Public to Private in Windows 10?
TechTips
2/20/2019
2:30
Windows 10 Tutorial: How to Disable Quick Access in File Explorer
TechTips
6/23/2018
1:55
How to Set Password in Windows 10?
TechTips
7/11/2018
3:01
How To Set Google Chrome as Default Browser in Windows 10 ?
TechTips
12/6/2016
0:39
How To Find Your WiFi Password in Windows 10 ?
TechTips
2/3/2016
7:13
How to Change DNS to OpenDNS in Windows 10?
TechTips
1/20/2020
4:04
How To Download and Install Notepad++ For Windows 10 ?
TechTips
2/6/2016
1:25
How to Disable Media Autoplay in Microsoft Edge Browser on Windows 10?
TechTips
11/19/2019
2:55
How to Create Desktop Shortcut of Google Chrome's Incognito Mode on Windows 10?
TechTips
10/11/2019
6:56
How to Add Firefox and Google Chrome Web browser in Notepad++ on Windows 10?
TechTips
9/2/2019
6:45
How to Install Opera Browser on kali Linux 2019.2 as Root?
TechTips
6/6/2019
1:30
How to Check your DNS Server Address on Windows 10?
TechTips
2/4/2020
3:28
How to Pin a Website from Google Chrome to the Taskbar on Windows 10?
TechTips
3/23/2019
4:18
How to Create WiFi Hotspot on Windows 10-2019?
TechTips
3/26/2019
1:49
How to Find Location of Screensaver Files in Windows 10?
TechTips
7/14/2019
1:59
How to Disable Tab Hover Cards in Google Chrome on Windows 10?
TechTips
11/21/2019
1:59
How to Pin a Website to Taskbar using Microsoft Edge Browser on Windows 10?
TechTips
11/2/2020
3:40
How to Create a New User Account on Windows 10?
TechTips
5/5/2019
3:11
How to USE Multiple Filters on Microsoft Outlook Using a Mac Computer - Basic Tutorial | New
ComputerScienceVideos
6/22/2025
2:52
How to FILTER Your Unread Emails on Microsoft Outlook Using a Mac Computer - Basic Tutorial | New
ComputerScienceVideos
6/22/2025
4:01
How to CREATE a Basic Rule on Microsoft Outlook Using a Mac Computer - Basic Tutorial | New
ComputerScienceVideos
6/21/2025