Tutorial yang singkat ini akan menunjukan bagaimana caranya untuk menghindari komputer untuk mengunjungi situs tertentu. Sangat cocok buat anda yang punya usaha warnet.
Cara yang dilakukan disini memang sudah umum, tetapi tidak ada salahnya untuk dicoba. Jika anda ingin melakukan pencegahan suatu komputer ke situs tertentu, anda dapat mengikuti cara-cara yang akan disajikan di bawah ini:
1. Buka Explorer anda dan pergilah ke C:\Windows\system32\drivers\etc
2. Selanjutnya, bukalah file hosts(tanpa ekstensi) dengan menggunakan Notepad
Dan akan terlihat isi aslinya sebagai berikut:
# 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. Ubahlah Propertinya, klik kanan -> Properties, dan hilangkan tanda centang pada opsi
Read Only.
4. Masukan nama website yang akan anda hindari/block di bawah teks terakhir dari file
tersebut. Sebagai contoh, anda akan melakukan blocking terhadap kunjungan ke situs
www.ngaco.com dan www.hancurbanget.co.id maka anda menambahkan teks alamat
website tersebut di bawah teks terakhir, yaitu 127.0.0.1 localhost
Sehingga isi dari file tersebut menjadi:
#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
www.ngaco.com
www.hancurbanget.co.id
5. Langkah selanjutnya anda tinggal menyimpan file tersebut.
6. Untuk Pembuktian silahkan anda berkunjung ke situs www.ngaco.com atau
www.hancurbanget.co.id, maka hasil yang akan didapat adalah kegagalan.
Sekian Tutorial ini. Smoga bermanfaat. Kalau banyak kata-kata yg salah, harap maklum
yah..soalx saya juga masih belajar.
20080404
Langganan:
Posting Komentar (Atom)

Tidak ada komentar:
Posting Komentar