Senin, 06 Juli 2009

Cara Block Web/Situs Tertentu di Windows

. Senin, 06 Juli 2009

Nah yang sudah gerah dengan situs-situs porno, youtube yang memakan bandwitdh cukup besar, facebook dan friendster yang membikin kerja di kantor menjadi terganggu… lalu bgaimana kalau kita ingin memblock situs-situs atau website tertentu saja, tidak 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.

Mari kita memulainya..

1. Silahkan anda membuka notepad

START > All Programs > Accesories > Notepad

2. Setelah notepad terbuka, silahkan klik:

File > Open

3. Pada tampilan open, ubah

Files of type: All Files

4. Lalu kita klik My Computer

5. Lalu kita klik:

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

6. Maka akan tampil pada notepad anda seperti ini:

# 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

7. Sekarang mari kita menambahkan situs-situs yang anda ingin blokir

# 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 di atas adalah seperti ini:

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.

8. Setelah anda selesai menuliskannya, silahkan klik save.

9. Lalu coba buka situs yang sudah anda blacklist, Selamat Mencoba!


Untuk mendownload file hosts tadi, disini http://www.ziddu.com/download/5494520/hosts.zip.html


UPDATE:


Daftar SITUS PORNO yang diblokir: http://www.ziddu.com/download/5494519/hosts-situs-porn.zip.html

2 komentar:

endra prathama mengatakan...

gimana caranya, jika server windows speedy,kalo di block dari server apa semua client ke block ?
ato jika ndk bisa, kasi tau donk cara block situs tertentu dari windows server, agar ndk mesti ke client - client...

Dirman mengatakan...

ini ada cara2 untuk melakukannya :

1. Daftar account https://www.opendns.com/start?s2
2. Tunggu konfirmasi email
3. Login
4. Klik link Dashboard
5. Klik Link Network masukan IP anda pasti langsung terdeteksi
6. TUnggu email konfirmasi
7. Pilih Menu "Setting"
8. Pilih menu "Block Categories"
9. Pilih kategori yang mau di blok terus "Apply"
10. Masukan DNS 208.67.222.222 dan 208.67.220.220 di router atau di pc client anda

Posting Komentar