hsncorrosion Posted December 8, 2007 Posted December 8, 2007 Odd I've blocked sites with windows hosts file before but youtube does not block! I've tired it and it wont. Any ideas guys? p.s. if your wondering why im blocking youtube its because my sister uses it to listen to music and shes on soo much (while she grounded) my mom threatened to disconnect the internet, not a risk im willing to take. Quote
Sparda Posted December 8, 2007 Posted December 8, 2007 hosts file modification will work. You did it wrong? Do post host file now! May be computer is troganded and the host files location has been changed. Quote
SomeoneE1se Posted December 8, 2007 Posted December 8, 2007 how do you change the location of the host file? Quote
hsncorrosion Posted December 8, 2007 Author Posted December 8, 2007 In bold does not seem to work, the others do perfectly # 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 # block myspace.com host names 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 #Block Proxies 127.0.0.1 ocrig.com 127.0.0.1 www.ocrig.com #Block Youtube 127.0.0.1 youtube.com 127.0.0.1 www.youtube.com Quote
digip Posted December 8, 2007 Posted December 8, 2007 Make sure you block their IP address as well. #YouTube 127.0.0.1 youtube.com 127.0.0.1 www.youtube.com 127.0.0.1 208.65.153.251 What OS are you running, and where is the file saved? "c:windows" for 95 and 98. "C:windowssystem32driversetc" for XP Also make sure it does not have any file extension on it, like txt. Quote
hsncorrosion Posted December 8, 2007 Author Posted December 8, 2007 "C:windowssystem32driversetc" for XP no extension Quote
digip Posted December 8, 2007 Posted December 8, 2007 They might be using a proxy to get around it but I havent had too much luck with YouTube and proxies working well together. Quote
VaKo Posted December 8, 2007 Posted December 8, 2007 Start using a DNS server you control and poison it. Quote
digip Posted December 9, 2007 Posted December 9, 2007 Start using a DNS server you control and poison it. You do realize what you just said, right? I think if he can't get a hosts file to work, what are his chances with your suggestion? If anything, try and route through OpenDNS and use their site to block access to it, but you shouldn't be having these issues with the hosts file to begin with. Something is not set properly somewhere on that pc. Quote
hsncorrosion Posted December 9, 2007 Author Posted December 9, 2007 The blocks on myspace in my hosts file work fine! So yes i can get it to work........ Quote
deleted Posted December 9, 2007 Posted December 9, 2007 Have you tried blocking all the Sub Domains of Youtube, e.g. uk.youtube.com. Quote
Iain Posted December 9, 2007 Posted December 9, 2007 There are an awful lot of myspace subdomains to block (and the probability of missing at least one). Is it possible to have a wild card or does each subdomain have to be listed explicitly? Quote
digip Posted December 9, 2007 Posted December 9, 2007 There are an awful lot of myspace subdomains to block (and the probability of missing at least one). Is it possible to have a wild card or does each subdomain have to be listed explicitly? If using the hosts file, each has to be listed. Other methods, like a firewall package or proxy that can block sites using wildcards might work. Quote
VaKo Posted December 9, 2007 Posted December 9, 2007 Do you have access to another machine you can use or are you having to make do with a single box for this? If you have a seperate PC you can do a lot more with the filtering, if you don't it would be easier to just get your mum to ban her from using the PC all together. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.