Windows 10: How to block a website in Windows etc/hosts?

Discus and support How to block a website in Windows etc/hosts? in Windows 10 Network and Sharing to solve the problem; I want to block a games website from my computer and on the internet, one suggestion was to edit /etc/hosts and put in these rules.... Discussion in 'Windows 10 Network and Sharing' started by goodnewsforyou, Dec 30, 2019.

  1. How to block a website in Windows etc/hosts?


    I want to block a games website from my computer and on the internet, one suggestion was to edit /etc/hosts and put in these rules.


    C:\WINDOWS\system32\drivers\ etc\hosts


    127.0.0.1 http://crazygames.com
    127.0.0.1 http://www.crazygames.com


    But it does not work.

    Any help appreciated.



    :)
     
    goodnewsforyou, Dec 30, 2019
    #1
  2. pigulici Win User

    List website to block in host file

    So , recent I learn that I can block the ads on my pc if I put the ip address of that ads in the host file to go on 127.0.0.1, well I did not escape from all ads but I am not rely only on browser addons(take some work on cpu), also I like host idea because I can control it and block before enter on pc, not on browser, I put the list from here:
    http://winhelp2002.mvps.org/hosts.txt
    now I see another list who seems good too:
    http://www.malwaredomainlist.com/hostslist/hosts.txt

    I know this lists are not forever,I must check periodical for changes, but I want to know if are another, maybe, best list(updated periodical).

    Look like the one from malwaredomainlist.com it is to aggressive, even yahoo messenger will not connect, so I will stay with http://winhelp2002.mvps.org/hosts.txt for now, maybe athers will post their finds.
     
    pigulici, Dec 30, 2019
    #2
  3. Bree Win User
    How to Block Websites

    It should work as long as it is named just HOSTS without any file extension (and assuming you have written it correctly). Open a Command prompt and type the command:

    dir c:\windows\system32\drivers\etc\hosts*.*

    Your file should be shown as HOSTS with no extension. I suspect you'll find it still has an extension, .txt perhaps.
     
  4. Afees98 Win User

    How to block a website in Windows etc/hosts?

    Blocking sites with Hosts File


    Hello,

    I am trying to block all porn sites on the laptop that I let kids play on. I tried using the hosts file to block them, I found a huge list of porn sites to block. But when I tried to load other sites like Facebook, YouTube, etc. It will take forever to load as I believe it is checking the whole list of sites.

    Now what am wondering is there anyway of doing it and not have any difference with the speed of any other website? Because youtube should just come up with no issues. But with all those sites in the host file it takes forever.

    Windows 10 (by the way)

    Thanks!
     
    Afees98, Dec 30, 2019
    #4
Thema:

How to block a website in Windows etc/hosts?

Loading...
  1. How to block a website in Windows etc/hosts? - Similar Threads - block website etc

  2. how to block a website

    in Windows 10 Gaming
    how to block a website: using the command prompt doesn't help it goes to a black screen with line items and does not accept the command run https://answers.microsoft.com/en-us/windows/forum/all/how-to-block-a-website/42459509-03d0-469c-90f4-5c7538e57e5d
  3. how to block a website

    in Windows 10 Software and Apps
    how to block a website: using the command prompt doesn't help it goes to a black screen with line items and does not accept the command run https://answers.microsoft.com/en-us/windows/forum/all/how-to-block-a-website/42459509-03d0-469c-90f4-5c7538e57e5d
  4. Antivirus is blocking the website. How to avoid blocking?

    in AntiVirus, Firewalls and System Security
    Antivirus is blocking the website. How to avoid blocking?: Greetings to everyone who is online. I would be very grateful if you can tell me how you can solve my problem. During quarantine, I have to work from home. My home computer is running Windows 10. When I try to open the <Link Removed> site used for work, the antivirus blocks...
  5. how to block website permanently?

    in Windows 10 Ask Insider
    how to block website permanently?: I'm using chrome/windows 10. Is there a way to do this? extension that has a password lock maybe? submitted by /u/glasseyeofficial [link] [comments] https://www.reddit.com/r/Windows10/comments/kqhmfm/how_to_block_website_permanently/
  6. How to block a website in Windows 10

    in AntiVirus, Firewalls and System Security
    How to block a website in Windows 10: Can anybody help me as I forgot how to block websites in Windows 10. I don't seem to be able to find it anymore but than, I am almost 80 and the grey matter does not always cooperate. Than youk...
  7. Windows is blocking a website

    in AntiVirus, Firewalls and System Security
    Windows is blocking a website: I have both a PC and a Surface Pro with Windows 10 but cannot view a specific website on just my PC. How can I get Windows 10 to allow this website on my PC?...
  8. how to block websites

    in Windows 10 Customization
    how to block websites: How do I block websites giving unwanted pop ups https://answers.microsoft.com/en-us/windows/forum/all/how-to-block-websites/8b2ed814-5423-40bc-b846-6399ce363e74
  9. Block Websites using Hosts File in Windows

    in Windows 10 Tutorials
    Block Websites using Hosts File in Windows: How to: Block Websites using Hosts File in Windows How to Block Websites using Hosts File in Windows The Hosts file is used by the operating system to map human-friendly hostnames to numerical Internet Protocol (IP) addresses which identify and locate a host in an IP...
  10. How to Block Websites

    in Browsers and Email
    How to Block Websites: I have googled a bit and found software that can be used to block websites on a computer. I also found another way by using Windows which I would prefer. My problem is I must be doing something wrong. Here is the site that has the steps. How to block websites | PCWorld Here...