30 total posts
Forgot to say that I have 3 PC's set up on network /router. Is there a way to only block "mySpace" on ONE of the computers ?
If you only want to block it on a single computer, the HOSTS file is probably the best place to start. It can be bypassed in a number of different ways, but it's a quick and easy "fix" that will thwart a great many people. It's also handy in that it works with any browser.
Just add a line such as this to the HOSTS file:
That will redirect any request to the Myspace website to a non-existent IP address, and people using that computer will see an error page.
Like I said, there are a couple of easy ways to bypass this. Namely editing the HOSTS file to remove that line, or using a web proxy, but it takes all of a few seconds to do, so it's a great place to start.
As stated, the HOSTS file...
is a good way to do that but rather than using the mentioned:
0.0.0.0 www.myspace.com (or 127.0.0.1 www.myspace.com if preferred)
I would suggest using:
Why? Because it directs the user to Disney online.
The HOSTS file has no extension and should be located in the
Thanks to all for the response about blocking MySpace. Problem is, I don't understand anything about host files. Thats why I asked for instructions. I understand you are trying to help, but please explain a little better for this old lady ! LOL
I tried adding to restricted sites, and that didn't work !! What now ?
So sorry, I am not THAT GOOD !!!!
Open the file in any text editor, such as Notepad. Add the line I gave in my initial post at the bottom, save it, and you're done. No rebooting or reloading of the program should be necessary. You may need to clear the browser cache, but that's about it.
It's just one of the many little useful things that are a byproduct of Microsoft using some of the network stack code from FreeBSD in Windows.
How To Use A HOSTS File
Click on the link below to the Newbies "Tips" thread and follow the step by step instructions. The HpGuru's HOSTS file link which is listed is a large file but it will automatically block 'myspace". It's one of the included "banned" sites in their HOSTS..
Still, make sure to read the other excellent posts. It's important to know how to edit your HOSTS file.. Many don't like the HpGuru HOSTS because it blocks a lot of sites that folks actually prefer.. When you know how to edit it, you can simply remove your preferred site listings in HOSTS and allow it to keep blocking the rest.
Hope this helps.
Hate to say it, but...
Honestly, if she wants to go on the site badly enough, she WILL find a way around it. Honestly, even the larger corporate web filters can be easily bypassed (I've done it, I won't deny it :P) just by accessing a simple proxy site.
If she's not very tech-savvy though, you're probably safe just trying the HOSTS suggestion.
Simple as it gets...
Open a Command Prompt (Click Start |%Run then type CMD.EXE then click OK)
When the command prompt window opens type your choice of the following (you could also copy and paste the bolded portion ot the line of your choice into that command prompt):
echo 127.0.0.1 www.myspace.com >> %systemroot%\system32\drivers\etc\host (takes you nowhere as that directs to the localhost)
echo 184.108.40.206 www.myspace.com >> %systemroot%\system32\drivers\etc\host (takes you to the Disney site)
echo 220.127.116.11 www.myspace.com >> %systemroot%\system32\drivers\etc\host (takes you to Catholic First Douay-Rheims Bible page)
C:\>echo 127.0.0.1 www.myspace.com >> %systemroot%\system32\drivers\etc\host (takes you nowhere as that directs to the localhost)
Now press the enter/return key and the file is written.
No muss, no fuss.
just a quick question
Suppose I did what you've mentioned and a few weeks later, decided to change my mind and want to view myspace again. How do you go about that?
Sorry if question is obvious but I want to make sure before I do anything like that.
If You Choose To Reverse The Option...
Use Windows Explorer, then navigate to the "%systemroot%\system32\drivers\etc\" folder (On XP that's C\Windows\system32\drivers\etc" ), then open the HOSTS file with Notepad, then simply delete the "www.myspace.com" entry that you placed there earlier.. You can search the HOSTS file using Notepad by clicking on "Edit" in the upper left corner, choose "Find Next" and type in "www.myspace.com".
Hope this helps.
Additional Help Unblocking MySpace
I attempted to block MySpace serveral different ways. I used IE's "tools", "internet options" and then the security and content tabs. I also followed your instructions creating that "hosts" file. I then followed your instructions on how to delete MySpace from the hosts file. I still cannot access MySpace. I can get to www.myspace.com but when I try to type in my username and password, it just brings me right back to the log-in screen. I can however access myspace if I use one of those proxy sites like www.unblockmonkey.info However, I would like to be able to access the site again without using unblockmoney. Can you help me out??
It Depends On What You Used..
If you used the full HOSTS file from my "How to use a HOSTS file" post above, then the HOSTS file includes a whole bunch of Myspace URLs that are blocked.. It's not just "www.myspace.com", but all sorts of other advertising sites from myspace that will prevent you from visiting the site.. If you used the HpGuru HOSTS file that I linked to, then you'll need to open the HOSTS file and do a search for anything that has "myspace" in the site name, then remove it from HOSTS.. (ONE EXCEPTION: There are some sites which have .cn at the end of the site name.. Those are for some bad sites in China and should be left in the HOSTS file.)
On the other hand, if you've added only "www.myspace.com" to the original HOSTS file from Windows, removing should have done the trick. Another option would be to change the name of the HOSTS file to HOSTS.txt.. Once that's done, you should be able to visit the websites of your choice.. Unfortunately, that also prevents any adsites from being blocked.. Your choice.
Which one is it?
Hope this helps.
I did the what Edward ODaniel said to do. And sure enough, in the hosts file there were only two sites, both were www.myspace.com. I did what he said to do to unblock myspace and deleted both entries for www.myspace.com. Again, those were the only two web sites in the hosts file... unless there is some other hosts file I don't know about...
To unblock myspace
you have to undo everything you changed to block it.
You used internet options, then you have to go there and undo that.
You have to remove it from the hosts files.
If you are using a wireless router, you then have to unblock it from there.
You must be on an unrestricted account to do this. You then have to restart your computer.
I have mine blocked with the wireless router. At a set time, every evening, it gets blocked so the children go to bed. If not, they'd stay on it all night.
Thanks Rick, but I've done all that...
I went back in to Internet Options and added it back as safe content, etc. I did exactly as posted and went to the hosts file. There were only two items in the hosts file, both "www.myspace.com" and I deleted both and now the folder is empty. I even changed the name of the folder as suggested so that it now says "hosts.txt" and that did not work either. I can get to the sign on screen for myspace, but when trying to sign in, it just takes me right back to the sign in screen. I'm probably going to have to call am IT guy to maybe remote into my PC and see what I did or am doing wrong. Generally I have no problem following directions and fixing PC problems myself, but this one has me stumped! If anyone else has any other suggestions, I would welcome them. Thanks!
Hi Rick - I'm using XP
Well... I followed the link to your post about Java and Java Script. I have Java. I downloaded and installed the Java Script. I restarted my PC and then tried logging on to MySpace again. Still takes me right back to the sign in screen. I cleared all the temporary internet files too. This is bugging the crap out of me! I don't know what else to do short of paying someone to come and fix it. I hate to do that though. Any more suggestions?
Go to Internet options
click on internet
click on default level
click on restricted sites
click on sites
scroll through the entire list and remove anything to do with myspace
If this doesn't help then try using IEFix. Something could be wrong with Internet Explorer.
If everything fails, then try using Mozilla Firefox and tell us if you can go there now.
Thanks Ed, thats a good one.
Thank you for the Disney suggestion. It worked like a charm.
What browser are you using?
Most routers can do this.
In my router it's in the URL blocking. I just add myspace and it blocks any URL that has myspace in it.
And what a morning. Tossing snow shovel...
reply to blocking myspace
There is no way to block my space without buying somekind of software. I think your being over protective myspace is totally safe try it out yourself.