How to block a domain from being accessed on a computer


Recommended Posts

Hi, there is a website I want blocked from 1 computer in my house, the site is www.justin.tv and i've tried adding the ip in hosts file, the computer is using windows vista and i saved the file after i added the ip, but I can still get to the website. Can anyone help please?

you could probly make a custom error message if you routed the dns through your own dns server or something like opendns and then customise the error message page. this would depend on which dns server software you used though.

alternativly you could reshack the resource that holds the 404 page on his pc, it would only work on his pc though lol.

If you point all your DNS to opendns www.opendns.com not only can you block specific hosts you can have custom pages shown for when you try to get to the site.

Registration is free

it would clear out the dns cache.

your computer keeps copies of the websites you visit, so that when you visit them again they load faster.

your computer might be loading the website from that copy instead of the actual website.

Hi, there is a website I want blocked from 1 computer in my house, the site is www.justin.tv and i've tried adding the ip in hosts file, the computer is using windows vista and i saved the file after i added the ip, but I can still get to the website. Can anyone help please?

Either use the firewall and block the domain from there (outgoing as well as incoming) or you can set up whatever browser you use to block the site.

The hosts file is an easy fix for a single computer but if you had multiple boxes then using opendns would be attractive because it would block everything going through your router to that domain.

I gave out a few +1s to people who already suggested this. Does anybody use that feature?

He said he only wanted it blocked on one machine. The hosts file didn't work. Windows firewall (block port 80 to the particular domain) would be the first thing I would try because it doesn't require any addon software. If you happen to have an AV product that includes internet protection I'm sure you can blacklist the site within that program.

He said he only wanted it blocked on one machine. The hosts file didn't work.

But it did work -- read the thread

d4v1d05 that worked thank you.

He had the entry in his host file wrong is all.

Point the router to use the DNS servers of OpenDNS, register an account with OpenDNS, and block the sites you want to. Simple as pie, and your computer can't get around it (unless they manually forward to another DNS server).

OR you can block that site on the router. I've only owned Netgear and Belkin routers so I can't say how to do it, but it should be an option. And THAT there is no way of getting around, unless they use a proxy.

Dare I ask why you want to block justin.tv?

"Simple as pie, and your computer can't get around it (unless they manually forward to another DNS server)."

Which is easy enough to prevent by just blocking outbound on port 53 other than to opendns IPs, but what it doesn't stop is users creating host records to point some domain to an IP or just using the IP, etc.

my brother visits streams on justin.tv and then leaves the computer while they're still going, wasting bandwidth and slowing down all the other computers in my house and thats why i want to block the site. a friend of mine gave me 2 dns's i should use and he said they are way better than my isps dns's (comcast) and that they never go down.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.