The Archives

Sayanee's blog 2005 - 2012. Checkout her latest blog!

Blocking spam sites

28 Jun 2007 on Learning

Found another way of blocking spam sites / pop-up ads without using any pop-up blocking/heavy anti-virus softwares. Here’s how…

  1. In Windows, go to the directory… C:\WINDOWS\system32\drivers\etc
  2. Locate the hosts file
  3. Open the host file using the notepad
  4. Add the domain name we want to block in this format: 127.0.0.1         www.************.com
  5. Save and close the file

and here are more links on how to use this host file…