Results 1 to 2 of 2

Thread: How can I use windows to block domain?

  1. #1
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,254
    Thanks
    96
    Thanked 104 Times in 102 Posts

    Default How can I use windows to block domain?

    If I go to C:\Windows\System32\drivers\etc\hosts and add the following line I can block a website:

    127.0.0.1 example.com

    This is handy, but I am unaware of how I can use this trick or any other trick to block https sites. Is anyone aware of a way I can use Windows to block a https website?

    For example, if the website is https://www.example.com the either of the following should work:

    127.0.0.1 example.com
    127.0.0.1 1.2.3.4 #where 1.2.3.4 is the ip address of the website.

    For some reason this only seems to work with http websites. :/
    To choose the lesser of two evils is still to choose evil. My personal site

  2. #2
    Join Date
    Mar 2011
    Posts
    2,002
    Thanks
    59
    Thanked 107 Times in 105 Posts
    Blog Entries
    4

    Default

    It should redirect regardless of http/https.
    It works off hostname (e.g. google.com vs https://google.com)

Similar Threads

  1. Replies: 6
    Last Post: 04-25-2013, 08:04 PM
  2. Replies: 0
    Last Post: 04-20-2009, 03:21 PM
  3. Replies: 1
    Last Post: 12-09-2008, 02:35 PM
  4. domain name help
    By *Warrior* in forum The lounge
    Replies: 2
    Last Post: 07-10-2007, 02:32 AM
  5. Replies: 5
    Last Post: 09-19-2006, 04:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •