Blocking websites?

Discussion in 'OT Technology' started by hideon9, Dec 16, 2005.

  1. hideon9

    hideon9 The plane will take off.

    Joined:
    Aug 30, 2004
    Messages:
    3,830
    Likes Received:
    0
    Is there any way to block sites on a computer without using special software? Maybe by editing the hosts file or something?

    Ideally I'd like to re-direct OT and some other sites to my course websites. I'm wasting too much time reading OT when I should be studying.

    Edit: I'm on Windows XP Pro
     
  2. Gimik

    Gimik New Member

    Joined:
    Sep 16, 2003
    Messages:
    36,559
    Likes Received:
    0
    Location:
    Feenicks, Az
    could try using a host file. Point it to 127.0.0.1 or something. I'll try it!
     
  3. Gimik

    Gimik New Member

    Joined:
    Sep 16, 2003
    Messages:
    36,559
    Likes Received:
    0
    Location:
    Feenicks, Az
    it worked for me. I added www.offtopic.com and forums.offtopic.com to my localhost entry. You just have to make sure to flush the DNS cache and close your browser (well, with IE anyway).

    ipconfig /flushdns to flush the cache.
     
  4. hideon9

    hideon9 The plane will take off.

    Joined:
    Aug 30, 2004
    Messages:
    3,830
    Likes Received:
    0
    Awesome, thanks. Maybe now I can get some work done.

    Wish I'd thought to do this before I only had 1 final left to go :(

    Once I'm home for break I might try writing a batch file to switch from blocked to normal host files and set it to run on monday and friday.

    Be back in a week or so :wavey:
     

Share This Page