How to Block Websites

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 129
    Windows 10
    Thread Starter
       #11

    Sorry everyone but I have done everything suggested and it still does not block the website.
      My ComputerSystem Spec

  2. Callender's Avatar
    Posts : 1,474
    Windows 10 Home 1809 32-bit
       #12

    This reg file still works for me:

    HOSTS File - Add or Remove from Desktop Context Menu - Windows 7 Help Forums

    I can edit and save hosts file no problem. I tend to use third party software for hosts file management though.

    This website that you want to block - can you post the URL or if not post something similar and show us how it looks in your hosts file?
      My ComputerSystem Spec

  3. Bree's Avatar
    Posts : 12,388
    10 Home x64 (1903) (10 Pro on 2nd pc)
       #13

    copiman said: View Post
    Sorry everyone but I have done everything suggested and it still does not block the website.
    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.
      My ComputersSystem Spec


  4. Posts : 129
    Windows 10
    Thread Starter
       #14

    Here they are;

    Click image for larger version. 

Name:	image.png 
Views:	2 
Size:	31.0 KB 
ID:	196231

    Click image for larger version. 

Name:	image.png 
Views:	25 
Size:	14.6 KB 
ID:	196232
      My ComputerSystem Spec

  5. Bree's Avatar
    Posts : 12,388
    10 Home x64 (1903) (10 Pro on 2nd pc)
       #15

    Oh, so it's Facebook you want to block - that probably explains it. Facebook is well known for being difficult to block .

    For a start, try adding fb.com to your HOSTS file. There's more you may need to add here...
    Hosts File to Block Facebook from my Machine · GitHub
      My ComputersSystem Spec

  6. Callender's Avatar
    Posts : 1,474
    Windows 10 Home 1809 32-bit
       #16

    That should look like this:

    Click image for larger version. 

Name:	EmEditor.jpg 
Views:	23 
Size:	34.4 KB 
ID:	196235

    As Bree says you will never block Facebook with a simple entry in your hosts file.
      My ComputerSystem Spec


  7. Bree's Avatar
    Posts : 12,388
    10 Home x64 (1903) (10 Pro on 2nd pc)
       #17

    For a comprehensive list of Facebook sites see...
    How to block Facebook: All the URLs you need to block to *actually* stop using Facebook — Quartz


    Well spotted @Callender. There shouldn't be a 'http//' for any site name in a HOSTS file.
      My ComputersSystem Spec

  8. Callender's Avatar
    Posts : 1,474
    Windows 10 Home 1809 32-bit
       #18
      My ComputerSystem Spec

  9. Callender's Avatar
    Posts : 1,474
    Windows 10 Home 1809 32-bit
       #19

    Then from the same thread look at the entries in the hosts file in this post:

    Protecting yourself from In-Browser Miners Solved - Page 3 - Windows 10 Forums
      My ComputerSystem Spec

  10. Callender's Avatar
    Posts : 1,474
    Windows 10 Home 1809 32-bit
       #20

    Some people resort to using third party software. I have not tried this one:

    Facebook Blocker Tool : Free Software to Block or Unblock Facebook on Windows | www.SecurityXploded.com

    EDIT: Just tried it and it just adds these entries into the hosts file:

    Code:
           Facebook Blocker Start        #
    
    
    0.0.0.0 www.facebook.com
    0.0.0.0 facebook.com
    0.0.0.0 apps.facebook.com
    0.0.0.0 developers.facebook.com
    0.0.0.0 web.facebook.com
    0.0.0.0 mobile.facebook.com
    0.0.0.0 free.facebook.com
    0.0.0.0 fb.com
    0.0.0.0 messenger.fb.com
    0.0.0.0 messenger.com
    0.0.0.0 l.facebook.com
    0.0.0.0 m.facebook.com
    0.0.0.0 login.facebook.com
    0.0.0.0 blog.facebook.com
    0.0.0.0 business.facebook.com
    0.0.0.0 pixel.facebook.com
    0.0.0.0 upload.facebook.com
    0.0.0.0 mbasic.facebook.com
    0.0.0.0 touch.facebook.com
    0.0.0.0 zh-cn.facebook.com
    0.0.0.0 de-de.facebook.com
    0.0.0.0 fr-fr.facebook.com
    0.0.0.0 it-it.facebook.com
    0.0.0.0 pl-pl.facebook.com
    0.0.0.0 es-es.facebook.com
    0.0.0.0 pt-br.facebook.com
    0.0.0.0 es-la.facebook.com
    0.0.0.0 en-gb.facebook.com
    0.0.0.0 hu-hu.facebook.com
    0.0.0.0 tr-tr.facebook.com
    0.0.0.0 sv-se.facebook.com
    0.0.0.0 fr-ca.facebook.com
    0.0.0.0 zh-tw.facebook.com
    0.0.0.0 ja-jp.facebook.com
    0.0.0.0 cs-cz.facebook.com
    0.0.0.0 da-dk.facebook.com
    0.0.0.0 ro-ro.facebook.com
    0.0.0.0 el-gr.facebook.com
    0.0.0.0 nb-no.facebook.com
    0.0.0.0 th-th.facebook.com
    0.0.0.0 ar-ar.facebook.com
    0.0.0.0 id-id.facebook.com
    0.0.0.0 pt-pt.facebook.com
    0.0.0.0 fi-fi.facebook.com
    0.0.0.0 bg-bg.facebook.com
    0.0.0.0 sl-si.facebook.com
    0.0.0.0 ru-ru.facebook.com
    0.0.0.0 zh-hk.facebook.com
    0.0.0.0 ms-my.facebook.com
    0.0.0.0 fa-ir.facebook.com
    0.0.0.0 vi-vn.facebook.com
    0.0.0.0 sq-al.facebook.com
    0.0.0.0 sk-sk.facebook.com
    0.0.0.0 hr-hr.facebook.com
    0.0.0.0 ca-es.facebook.com
    0.0.0.0 sr-rs.facebook.com
    0.0.0.0 he-il.facebook.com
    0.0.0.0 et-ee.facebook.com
    0.0.0.0 en-pi.facebook.com
    0.0.0.0 mk-mk.facebook.com
    0.0.0.0 tl-ph.facebook.com
    0.0.0.0 ko-kr.facebook.com
    0.0.0.0 lv-lv.facebook.com
    0.0.0.0 uk-ua.facebook.com
    0.0.0.0 gl-es.facebook.com
    0.0.0.0 lt-lt.facebook.com
    
    
    #        Facebook Blocker End          #
    Last edited by Callender; 17 Jul 2018 at 20:19. Reason: add info
      My ComputerSystem Spec


 
Page 2 of 3 FirstFirst 123 LastLast

Related Threads
Cant Access Certain Websites in Browsers and Email
Guys please help when I try to access audiomicro.com and igg-games.com with google chrome an error saying forbidden 403 nginx pops out I tried a lot of things clearing my cookies and caches, trying another browser, deleting the contents of my temp...
Cannot access certain websites in Browsers and Email
Hello All, I am not able to access certain websites like ebay. I am getting this error This site can't be reached 'ERR_CONTENT_DECODING_FAILED' or I get this error 'ERR_INVALID_CHUNKED_ENCODING'. I have tried changed the DNS settings....
Internet companies forced to block The Pirate Bay, bittorrent websites in Australia, Federal Court rules - ABC News (Australian Broadcasting Corporation)
can't access some websites in Network and Sharing
I have this weird problem that causes chrome and firefox to download some pages (like: https://www.mozilla.org/en-US/firefox/new/ or hwzone.co.il - please notice this happens only on some websites and not all) instead of simply viewing them. the...
Solved Cannot access some websites in Browsers and Email
Suddenly a couple of days ago while looking through Youtube, I suddenly had a blue screen of death. PC has never been the same since! System Restore and Reset your PC both fail. Also on Chrome I cannot access any https websites, on Edge I...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 11:50.
Find Us