Beranda > Tips & Tricks, Widows > Memblokir Situs Di Windows 7 Dengan Merubah File Hosts

Memblokir Situs Di Windows 7 Dengan Merubah File Hosts

2 Juni 2016

no

Memblokir situs sudah menjadi kebutuhan guna menjaga anak-anak dari membuka situs-situs yang tidak selayaknya mereka lihat. Saat ini sudah banyak software baik yang berbayar maupun yang GRATIS untuk memblokir situs. Namun sebenarnya kita tidak membutuhkan software apapun untuk memblokir situs, bagaimana caranya ?

Berikut langkah-langkah memblokir youtube:

Jika anda menggunakan antivirus pastikan non aktifkan proteksi file hosts (Saya menggunakan AVIRA). Buka AVIRA, pada menu Extras pilih Configuration. Pada tab General, pilih Security dan non aktifkan pilihan Protect Windows hosts files from changes.

avira

Buka Change User Account Control Setting. Setting bar ke Never Notify. Restart windows.

notify

Buka kotak dialog Run dengan menekan tombol Windows + R. Ketik “notepad C:\Windows\System32\drivers\etc\hosts” (tanpa kutip).

notepad

Tambahkan “127.0.0.1       http://www.youtube.com” (tanpa kutip) di baris terakhir file hosts. Lalu simpan.

Isi standar file hosts:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost

 

Isi file hosts yang telah di edit:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost

127.0.0.1       www.youtube.com

Ubah kembali User Account Control Setting ke default.

default

Aktifkan kembali proteksi file hosts pada antivirus anda.

 

Semoga membantu…

 

 

 

%d blogger menyukai ini: