Jump to content

Blocking youtube, hosts file dont cut it


Recommended Posts


I've blocked sites with windows hosts file before but youtube does not block!

I've tired it and it wont.

Any ideas guys?


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.

Link to comment
Share on other sites

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:


#    rhino.acme.com          # source server

#    x.acme.com              # x client host      localhost

# block myspace.com host names log.myspace.com browseusers.myspace.com classifieds.myspace.com collect.myspace.com events.myspace.com favorites.myspace.com forum.myspace.com groups.myspace.com home.myspace.com invite.myspace.com linux.myspace.com login.myspace.com message.myspace.com messages.myspace.com music.myspace.com mx2.myspace.com myspace.com ns1.myspace.com ns2.myspace.com profile.myspace.com rio.myspace.com search.myspace.com vids.myspace.com viewmorepics.myspace.com vmta01.myspace.com vmta02.myspace.com vmta03.myspace.com vmta04.myspace.com vmta05.myspace.com vmta06.myspace.com vmta07.myspace.com vmta08.myspace.com vmta09.myspace.com vmta10.myspace.com vmta11.myspace.com vmta12.myspace.com vmta13.myspace.com www.myspace.com www1.myspace.com videos.myspace.com mail.myspace.com signup.myspace.com security.myspace.com

#Block Proxies ocrig.com www.ocrig.com

#Block Youtube youtube.com www.youtube.com

Link to comment
Share on other sites

Make sure you block their IP address as well.

#YouTube   youtube.com   www.youtube.com

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.

Link to comment
Share on other sites

They might be using a proxy to get around it but I havent had too much luck with YouTube and proxies working well together.

Link to comment
Share on other sites

Start using a DNS server you control and poison it.

You do realize what you just said, right?  :lol:

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...