hulika

Author Topic: Help: How to block certain websites!  (Read 1980 times)

Offline Bad_ding

  • Netizen Level
  • **
Help: How to block certain websites!
« on: July 26, 2015, 12:55:13 PM »
Fellow forumites, patulong naman po kung paano magblock ng certain websites.
Thank you very much in advance. And God bless po.

Offline ierofan

  • Philmusicus Addictus
  • *****
Re: Help: How to block certain websites!
« Reply #1 on: July 29, 2015, 05:23:37 AM »
I can't remember but my old router was capable of doing this. I just specify "*.facebook.*", then everything from facebook would be blocked. As far as I can remember, my old router was a linksys e1000. Big companies do it via a proxy server, though. If you're into techy/expensive stuff. You should try it.
████████████████████████████████████████████████████████████████████████

[This signature has been blocked in accordance to RA No. 10175]

Offline Kusanagi

  • Senior Member
  • ***
Re: Help: How to block certain websites!
« Reply #2 on: September 10, 2015, 10:34:33 PM »
If you want the website blocking to occur on your PC only, you may do the "hosts file method".

1. Run Notepad as Admin.
2. Open the hosts file located at C:\Windows\System32\drivers\etc using Notepad
3. Place your cursor at the very last part then press "enter". (Tip: Press Ctrl + End, then Enter)
4. Let's say you want to block a site with a domain "philmusic.ph", do it by typing "127.0.0.1 philmusic.ph" or just to make sure, type the same address on a new line below except that the second one has a "www" prefixed. e.g "127.0.0.1 www.philmusic.ph"

Sample:

127.0.0.1 philmusic.ph
127.0.0.1 www.philmusic.ph

If you want to add another site, just type it below the existing addresses using the same format.

5. Save your file as a hosts file, NOT a text file.

127.0.0.1 refers to your localhost, this is used to loop back addresses to the machine (computer). Hope this helps  :)
« Last Edit: September 10, 2015, 10:38:59 PM by Kusanagi »