Trouble blocking Myspace.com

scottsee

Beta member
Messages
2
Hi, I hope this is the right section..

System: Windows XP Pro, IE7

I have this kid at work that always likes to use my computer because its "the best one". After several times of me telling him to get off he still uses it when I'm not around. I tried editing the c:\windows\system32\drivers\etc\host file to reflect this, but after shutting down all the application and restarting windows (twice) It wont work.. Sites are still vewable.

I have also tried adding www.myspace.com to the IE7 Tools\Internet Options\security\restriced sites section.. WTF gives.. Aside from slapping this kid on the back of the head, what am I doing wrong here??

# 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 log.myspace.com
127.0.0.1 browseusers.myspace.com
127.0.0.1 classifieds.myspace.com
127.0.0.1 collect.myspace.com
127.0.0.1 events.myspace.com
127.0.0.1 favorites.myspace.com
127.0.0.1 forum.myspace.com
127.0.0.1 groups.myspace.com
127.0.0.1 home.myspace.com
127.0.0.1 invite.myspace.com
127.0.0.1 linux.myspace.com
127.0.0.1 login.myspace.com
127.0.0.1 message.myspace.com
127.0.0.1 messages.myspace.com
127.0.0.1 music.myspace.com
127.0.0.1 mx2.myspace.com
127.0.0.1 myspace.com
127.0.0.1 ns1.myspace.com
127.0.0.1 ns2.myspace.com
127.0.0.1 profile.myspace.com
127.0.0.1 rio.myspace.com
127.0.0.1 search.myspace.com
127.0.0.1 vids.myspace.com
127.0.0.1 viewmorepics.myspace.com
127.0.0.1 vmta01.myspace.com
127.0.0.1 vmta02.myspace.com
127.0.0.1 vmta03.myspace.com
127.0.0.1 vmta04.myspace.com
127.0.0.1 vmta05.myspace.com
127.0.0.1 vmta06.myspace.com
127.0.0.1 vmta07.myspace.com
127.0.0.1 vmta08.myspace.com
127.0.0.1 vmta09.myspace.com
127.0.0.1 vmta10.myspace.com
127.0.0.1 vmta11.myspace.com
127.0.0.1 vmta12.myspace.com
127.0.0.1 vmta13.myspace.com
127.0.0.1 www.myspace.com
127.0.0.1 www1.myspace.com
127.0.0.1 videos.myspace.com
127.0.0.1 mail.myspace.com
127.0.0.1 signup.myspace.com
127.0.0.1 security.myspace.com
127.0.0.1 63.208.226.219
127.0.0.1 63.208.226.24
127.0.0.1 63.208.226.25
127.0.0.1 63.208.226.28
127.0.0.1 63.208.226.40
127.0.0.1 63.208.226.41
127.0.0.1 63.208.226.42
127.0.0.1 63.208.226.43
 
Ok, sorry to reply this, but I am at school and I tried doing this with computerforums.org.
I pinged computerforumes.org and got the ip the put it in the hosts file.

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
72.36.191.10 computerforums.org



and it didn't work, obviously

Thanks!

-Q
 
Based on my limited understanding of how this particular config file is set up, you need to change your second line to 127.0.0.1 computerforums.org. That way, when someone types computerforums.org into the address bar it tells the web browser to connect to 127.0.0.1 which is your local machine.
 
Ok, sorry to reply this, but I am at school and I tried doing this with computerforums.org.
I pinged computerforumes.org and got the ip the put it in the hosts file.

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
72.36.191.10 computerforums.org



and it didn't work, obviously

Thanks!

-Q

This is just a name resolution file.
You set it up so computerforums.org correctly points at the server. You need to change the number to 127.0.0.1 so computerforums.org incorrectly points to your own computer.
 
Alright, so I changed it to 127 whatever and I accidently opened FireFox to try it, and it's worked.. it says that the site cannot be found or whatever.. and to check I went to google and other stuff..

But I opened IE and when I put in computerforums.org it takes me to live search and I click on a link there and it lets me through to the site....
 
Haha, that's nice.. I put in computerforums IP address (Vbulliton) and for the name I put
abcd

And that's all I have to put now :D That's cool!
 
Back
Top Bottom