Home | Looking for something? Sign In | New here? Sign Up | Log out

Jumat, 13 Agustus 2010

Blokir / Unblokir Situs Web Lewat Notepad


Anda dapat dg mudah memblokir akses situs web dg merubah isi file Windows HOSTS Anda. Setelah situs web di blokir di file HOSTS, maka tidak akan perna muncul lagi di salah satu program browser Anda, ini berarti situs web benar2 tidak tersedia kawan......Caranya:

1. Buka file HOST Anda yg terletak di:
C:\\WINDOWS\system32\drivers\etc  (untuk vista dan XP)
C:\\WINNT\system32\driver\drivers\etc  (untuk Win 2000)
C:\\WINDOWS  (untuk Windows 98 dan ME)

2. Buka file HOSTS dengan notepad

atau langkah yg lebih cepat yaitu:

1. Klik start > Run
2. Ketik : notepad \windows\system32\drivers\etc\hosts
3. Default Windows HOST akan tampak seperti di bawah ini, hehehhehe :D


# Copyright © 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. Untuk memblokir situs yang qta inginkan, tinggal tambahkan di:
127.0.0.1 “nama alamat website yg mau diblokir”
contoh, jika ingin memblokir Google, tinggal ketik aja :
127.0.0.1 google.com
127.0.0.1 www.google.com
hasilnya :
# Copyright © 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 google.com
127.0.0.1 www.google.com
4. Tutup Notepad dan jawab "ya" jika di minta.
5. Kemudian tes di salah satu browser. Anda akan melihat dan tidak dapat menemukan server atau DNS error dg pesan "The page cannot be displayed"
Akhirnya berhasil juga memblokir situs web.....

6. Sedangkan untuk membuka situs web yg keblokir
contoh: situs web facebook telah di blokir
tampilan file Windows HOSTS nya akan seperti di bawah ini...!!
# Copyright © 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 facebook.com
127.0.0.1 www.facebook.com

7. Lah.. dibagian bawah sendiri itu yang qta hapus.. Waktu situs web FB di diblokir, akan tampil:

127.0.0.1 facebook.com
127.0.0.1 www.facebook.com

untuk membuka blokir, tinggal hapus aja tuch.. ^_^ hasilnya :

# Copyright © 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

8. Setelah itu dah bisa buka FB lagi dech...
 Huft selesai juga artikelnya, semoga bermanfaat...!! ^_^

0 komentar:

Posting Komentar

 

Author

Foto saya
saia cewek kelahiran 1990 tepatnya lahir di bulan mei... mengenal dunia IT terutama bahasa pemrograman sejak th 2006 ketika saia mulai skul di smk jur IT RPL... salam kenal dari saia... terima kasih sudah berkunjung di blog saia yg sederhana ini.....

Following