Selasa, 09 November 2010

Cara Memblock Situs Tertentu di Windows

Cara Memblock Situs Tertentu di Windows


Nah yang gak suka dengan situs-situs porno, di youtube yang memakan bandwitdh cukup besar, facebook  yang membikin kerja di kantor menjadi tergangu. lalu gimana kalau kita ingin memblock situs-situs atau website tertentu saja, gak semuanya lho…? sebenarnya di windows sudah menyediakannya, dan kita tidak perlu software ataupun pengaturan melalui DNS maupun yang lain-lain, hanya menambahkan web black list.

Lets go kita mulai caranya Memblock Situs Tertentu di Windows :

1. Silahkan cari yang ditulis dibawah dan buka dengan notepad.

C:\Windows\Sytem32\Drivers\Etc\hosts

2. Maka tampilah seperti dibawah :


# Copyright (c) 1993-1999 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
127.0.0.1 localhost

3. Lalu kita tambahkan situs-situs yang ingin diblokir


# Copyright (c) 1993-1999 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
127.0.0.1 localhost
127.0.0.1 youtube.com
127.0.0.1 www.youtube.com
127.0.0.1 friendster.com
127.0.0.1 www.friendster.com
127.0.0.1 facebook.com
127.0.0.1 www.facebook.com


Maksud dari tulisan tersebut yaitu :


127.0.0.1 ini adalah IP adress dari localhost, jadi IP ini dapat anda ubah sesuai keinginan anda, jika anda tidak tahu atau tidak ingin merubahnya, cantumkan saja IP dari localhost ini. Fungsi dari IP ini adalah, ketika seseorang membuka alamat yang sudah di blacklist contohnya facebook, maka akan langsung di redirect ke halaman localhost/IP yang sudah kita tentukan sendiri.


4. Setelah  selesai menuliskannya, silahkan klik save (jangan save as yah...!).

5. Lalu coba buka situs yang sudah anda blockir tadi, Selamat Mencoba....! Cara Memblock Situs Tertentu di Windows :)