Cara Block Web/Situs Tertentu di Windows Rahman Surya Praja Jumat, 21 Mei 2010 No Comment

1.Buka Folder pada Directory
C:\WINDOWS\system32\drivers\etc

2. Pilih File hosts
3. Klik kanan dan Open with Notepad
4. 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

5. Select All dan Delete, Copy-paste script di bawah ini dan tambahkan list Situs yang tidak ingin di akses(Blok)

# 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.

6. Setelah selesai, silahkan klik save.
7. Lalu coba buka situs yang sudah anda blacklist!!
by Jillur Rahman

Jillur Rahman is a Web designers. He enjoys to make blogger templates. He always try to make modern and 3D looking Templates. You can by his templates from Themeforest.

Follow him @ Twitter | Facebook | Google Plus

No Comment

Terima Kasih Sudah berkunjung!! Di Mohon Untuk Meninggalkan Komen, untuk mempererat silaturahmi.... ^_^