How to keep your children safe with Windows Hosts File

ComputerCavalry: Internet Security for Parents and Children Intro to Parental Controls for the Family
4 minutes
Share the link to this page
You need to have access to the item to view this lesson.
One-time Fee
List Price:  $99.99
You save:  $30
List Price:  €91.79
You save:  €27.53
List Price:  £78.95
You save:  £23.68
List Price:  CA$136.16
You save:  CA$40.85
List Price:  A$149.21
You save:  A$44.76
List Price:  S$134.58
You save:  S$40.38
List Price:  HK$780.18
You save:  HK$234.07
CHF 63.82
List Price:  CHF 91.18
You save:  CHF 27.35
NOK kr751.73
List Price:  NOK kr1,073.95
You save:  NOK kr322.21
DKK kr480.45
List Price:  DKK kr686.39
You save:  DKK kr205.93
List Price:  NZ$162.99
You save:  NZ$48.90
List Price:  د.إ367.26
You save:  د.إ110.19
List Price:  ৳11,647.67
You save:  ৳3,494.65
List Price:  ₹8,329.22
You save:  ₹2,499.01
List Price:  RM468.70
You save:  RM140.62
List Price:  ₦146,985.30
You save:  ₦44,100
List Price:  ₨27,706.17
You save:  ₨8,312.68
List Price:  ฿3,598.96
You save:  ฿1,079.79
List Price:  ₺3,224.01
You save:  ₺967.30
List Price:  B$510.40
You save:  B$153.13
List Price:  R1,832.74
You save:  R549.87
List Price:  Лв179.88
You save:  Лв53.96
List Price:  ₩135,425.45
You save:  ₩40,631.70
List Price:  ₪369.26
You save:  ₪110.78
List Price:  ₱5,784.42
You save:  ₱1,735.49
List Price:  ¥15,565.94
You save:  ¥4,670.25
List Price:  MX$1,660.69
You save:  MX$498.25
List Price:  QR362.75
You save:  QR108.83
List Price:  P1,347.76
You save:  P404.36
List Price:  KSh12,980.20
You save:  KSh3,894.45
List Price:  E£4,681.28
You save:  E£1,404.52
List Price:  ብር5,713.27
You save:  ብር1,714.15
List Price:  Kz84,891.51
You save:  Kz25,470
List Price:  CLP$89,440.82
You save:  CLP$26,834.93
List Price:  CN¥722.24
You save:  CN¥216.69
List Price:  RD$5,826.59
You save:  RD$1,748.15
List Price:  DA13,462.75
You save:  DA4,039.23
List Price:  FJ$222.79
You save:  FJ$66.84
List Price:  Q772.81
You save:  Q231.86
List Price:  GY$20,810.17
You save:  GY$6,243.67
ISK kr9,646.55
List Price:  ISK kr13,781.37
You save:  ISK kr4,134.82
List Price:  DH990.33
You save:  DH297.13
List Price:  L1,760
You save:  L528.05
List Price:  ден5,654.52
You save:  ден1,696.52
List Price:  MOP$799.37
You save:  MOP$239.83
List Price:  N$1,819.78
You save:  N$545.99
List Price:  C$3,661.69
You save:  C$1,098.61
List Price:  रु13,260.75
You save:  रु3,978.62
List Price:  S/371.45
You save:  S/111.44
List Price:  K386.26
You save:  K115.89
List Price:  SAR374.96
You save:  SAR112.50
List Price:  ZK2,538.86
You save:  ZK761.73
List Price:  L457.57
You save:  L137.28
List Price:  Kč2,271.57
You save:  Kč681.54
List Price:  Ft35,579.92
You save:  Ft10,675.04
SEK kr750.08
List Price:  SEK kr1,071.59
You save:  SEK kr321.50
List Price:  ARS$88,151.52
You save:  ARS$26,448.10
List Price:  Bs687.27
You save:  Bs206.20
List Price:  COP$380,678.73
You save:  COP$114,215.04
List Price:  ₡50,906.29
You save:  ₡15,273.41
List Price:  L2,462.78
You save:  L738.91
List Price:  ₲745,276.15
You save:  ₲223,605.20
List Price:  $U3,879.22
You save:  $U1,163.88
List Price:  zł391.77
You save:  zł117.54
Already have an account? Log In


In this section of the course, we're going to take a look at windows host file, and how we can use Windows host file to help secure your children while they're on the internet. Let's start off by finding the location of Windows host file. I'm going to open Google Chrome and I'm going to do a search for Windows host file. Let's go with Windows host file location. Select Enter. And there we have it.

So I'm going to highlight the location of Windows host file. Right click and hit copy. Let's go ahead and minimize this. Now I'm going to click Start. Do a search for notepad one, right click on notepad and select Run as administrator. I'm going to select File Open and in the file name location, I'm going to paste the location of Windows host file.

I'm going to select open. And there we have it. Now some brief details about Windows host file, as it states here it says This file contains the mapping of IP addresses to host names. Each entry should be kept in an individual line. The IP address should be placed in the first column, followed by the corresponding hostname. The IP address and the host name should be separated by at least one space.

So we're going to do we're going to customize windows host file to block certain websites. We're going to go down to the very last line under the local host section. We're going to select enter and I'm Want to type zero dot zero dot zero dot zero. I'm going to tab twice. And this is where we're going to put the domain that we want to block. So in this example, we're going to go with YouTube.

Let's go ahead and open Google Chrome again. Let's make sure we can get to Google Chrome. I mean YouTube, like enter. Okay, we see that we can get to YouTube successfully. So what we're going to do, we're going to copy this URL, right click, hit copy, and we're going to minimize it again. Go back to Windows host host file, and paste that link.

But let's take out a bit of the extra stuff, the HTTPS and forward slash on the end. We just want the We're going to select File, and select Save. And let's see what happens. Let's go ahead and open Google Chrome again. Right click and hit reload. Now, as you can see, YouTube still loads.

Well, that's because your system has already basically cached YouTube to the system. So we have to go in and delete YouTube from the browser history. We're going to hit these little three dots in the corner, select history, and Clear browsing data. We're going to select Clear data. Now let's go back and refresh the page again. And as you can see, YouTube can be reached.

We see that we still have a stable internet connection. So let's go ahead and try to refresh it again. As you can see, YouTube is now inaccessible. So let's go back to our host file and remove YouTube. From being blocked, we're going to backspace out of the line that we put Select File and Save. Now let's refresh for YouTube one last time.

We're going to right click and select reload. And there you have it. YouTube now shows successfully. I hope you guys enjoyed this course. I will see you again in the next one.

Sign Up


Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.