Solved: Blocking website domains using hosts file

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

pnggnp

Thread Starter
Joined
Mar 29, 2015
Messages
3
Hi,
I am trying to block all domains from tumblr using the "hosts" file, but I have not been able to do it. I have tumblr.com blocked using that file, but it does not block other tumblr domains, like for example, redwings.tumblr.com or whatever.tumblr.com or helpme.tumblr.com.

Can I block those domains using this?

127.0.0.1 *tumblr.com

If that does not work or if hosts file cannot block all domains, could anyone suggest a way to block all of them? I did a quick search and skimmed the techguy forums, but I could not find any posts dealing with this. I could have missed it, so if this has already been answered, I'd be grateful if you could direct me there.

Thank you :)
 
Joined
Oct 26, 2001
Messages
57,793
You need to close you Browser and open it again to see any changes.
 

Triple6

Rob
Moderator
Joined
Dec 26, 2002
Messages
52,933
You may also be able to block domains in your router or in your firewall.
 

Cookiegal

Karen
Administrator
Malware Specialist Coordinator
Joined
Aug 27, 2003
Messages
119,680
The hosts file does not support wildcards, which is the one with the asterisk in front "*" to cover everything from a specific domain. You have to enter each one that you want to block separately so it's best to look for alternative ways to block them because a lot of entries in the hosts file will slow the computer down.
 

pnggnp

Thread Starter
Joined
Mar 29, 2015
Messages
3
I see. Thank you, Cookiegal. I'll try to find other ways. And thanks for letting me know that a large hosts file can slow the comp down. Did not know that.

Thanks again
 

pnggnp

Thread Starter
Joined
Mar 29, 2015
Messages
3
Thanks everyone for the replies. Appreciate you taking time to help.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top