Which Anti Virus

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 12 June 2013

How to Block a Website

Posted on 03:35 by Unknown

Some times it becomes necessary to block a website on our Computers for one or other reason. You can easily and effectivily block access to a website by adding it to your Windows HOSTS file. Once the website is blocked in the HOSTS file, it will not appear in any of the browsers. That is, the website becomes completely unavailable. 

1. Go to your HOSTS file which is located at: 

C:\WINDOWS\SYSTEM32\DRIVERS\ETC for Vista and XP 
C:\WINNT\SYSTEM32\DRIVERS\ETC for Win 2000 
C:\WINDOWS for Windows 98 and ME 

2. Open HOSTS with Notepad. 

The default Windows HOSTS looks like this: 
______________________ 
# Copyright © 1993-1999 Microsoft Corp. 
# 
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows. 
# 
# This file contains the mappings of IP addresses to host names. Each 
# entry should be kept on an individual line. The IP address should 
# be placed in the first column followed by the corresponding host name. 
# The IP address and the host name should be separated by at least one 
# space. 
# 
# Additionally, comments (such as these) may be inserted on individual 
# lines or following the machine name denoted by a “#” symbol. 
# 
# For example: 
# 
# 102.54.94.97 rhino.acme.com # source server 
# 38.25.63.10 x.acme.com # x client host 
# 
127.0.0.1 localhost 
_____________________________ 

3. Directly under the line that says 127.0.0.1 Localhost, you will want to type: 

127.0.0.1 name of the URL you want to block 
For example to block the website MySpace.com, simply type: 
127.0.0.1 myspace.com 
127.0.0.1 www.myspace.com 
Other parts of MySpace could be blocked in a similar way:
127.0.0.1 search.myspace.com 
127.0.0.1 profile.myspace.com 
etc etc etc… 
It is necessary to add a website with and without the “www.”. You can add any number of websites to this list. 

4. Close Notepad and answer “Yes” when prompted. 

5. After blocking the website, test it in any of the browser. If every thing is done as said above,the website must not appear in any of the web browsers. You should see a Cannot find server or DNS Error saying: “The page cannot be displayed”.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Hacking | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Different Types Of Computer Ports
  • C Program Library files(Header Files)
    1. <stdio.h>: input and output  function in program. 2. <conio.h>: to clear screen and  pause information function. 3. <ctype...
  • Features Of Android KitKat
    1) The new Phone (Dialer) app is now linked online with Google Maps. This means if your type Big Bazaar in Phone app (Not Search) and if tha...
  • Free Download E-DRAW MAX
    link 1 : http://hotfile.com/dl/ 254163134/8de2252/EDM.rar.html
  • Different Operating System and Their RAM Support
    Windows 8 64 bit Enterprise  Professional : 512 GB Windows 8 64 bit :128 GB Windows 8 32 bit : 4 GB Windows 7 64 bit Ultimate, Enterprise ...
  • How To Protect Your Computer From Keyloggers
    A keylogger is a small program that stores each keystroke a user types on a specific computer's keyboard. It is capable to send log file...
  • GTU Paper Solution and Material as Per GTU syllabus
    Go to this website and download the Study material of GTU Syllabus. http://gtu-paper.blogspot.com/
  • Online Mobile Recharge Websites
    Hey here is the list of websites which helps you to make a online recharge of your mobile. Rechargeitnow.com FastRecharge.com Indiamobilerec...
  • How To Install Android on PC or Laptop
    Android has a got very important place in our Tech World.Now in market you can get many devices running on Android like Smartphones to Table...
  • How to Get Maximum Battery Life in Laptop?
    1. Backlight Levels/ Screen Brightness. ------------------------------ -------------------- You don’t always need the brightest screen for u...

Categories

  • Android
  • Android Apps
  • apps
  • BlackBerry
  • Cprog
  • dfd
  • erd
  • Facebook
  • general
  • Hacking
  • HTC
  • ios
  • java
  • Mobile
  • nokia
  • Samsung
  • Srs
  • Window Apps
  • Windows 8

Blog Archive

  • ▼  2013 (91)
    • ►  November (6)
    • ►  October (5)
    • ►  September (17)
    • ►  August (3)
    • ►  July (8)
    • ▼  June (13)
      • Easy way to disable USB port
      • Folder Bomber--Make 3000 Folder At A Time
      • Funny Tricks-Know The Gender Of Your Computer
      • Top Free SMS websites
      • Online Mobile Recharge Websites
      • How To Send Friend Request On Facebook Even If You...
      • Secret Codes For Nokia Mobiles
      • Secret Code For Samsung Mobiles
      • How to Block a Website
      • iOS 7--Apple's new OS
      • Shutdown Your Friend’s PC While Chatting
      • Water Chargers-Now charge your cellphones using wa...
      • FACEBOOK-Colored text in facebook chat.
    • ►  May (12)
    • ►  April (27)
Powered by Blogger.

About Me

Unknown
View my complete profile