View Single Post

  #10  
Old 11-20-2006, 03:12 PM
Metallic_Bee Offline
Registered User
 
Join Date: Nov 2006
Posts: 10
Unhappy

Quote:
Originally Posted by snowmonkey
Hey daer0n,

I guess by now you know where the hosts file is located...if not...go to C:\Windows\system32\drivers\etc\ and open hosts file with notepad....then replace the content of the hosts file with the one below...this should work:


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


www.ratemyfaceadult.com/index.cfm 127.0.0.1
www.ratemyfaceadult.com 127.0.0.1
ratemyfaceadult.com 127.0.0.1
www.deviantart.com 127.0.0.1
deviantart.com 127.0.0.1
207.44.192.69 www.google.com
69.28.181.43 www.google.com
----------------------------------------------

If user tries to go to the site it will loop back (127.0.0.1) and nothing will be displayed and if the user gets smart and tries to go to the IP address directly then they will be send to Google.com (the last two lines are for that)

Let me know if that works.

Cheers

I opened the hosts file, which is caled lmhosts.sam, i assume this is the right one since there isn't any other there that says host, so i opened this file with the notepad, replaced it with the info that you gave me there, went to the websites but they still open, the only thing that i noticed is that it doesn't display a few pictures on the website but thats it...
Reply With Quote