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

  • 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...
  • 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/
  • 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...
  • Windows 8 - Keyboard shortcuts
    Press this key To do this Right Shift for eight seconds Turn Filter Keys on and off Left Alt+Left Shift+PrtScn (or PrtScn) Turn High Contras...
  • 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 : Speed Up Youtube Buffering Speed
    1. Click start then type  system.ini  in the input address box 2. Then you will see the file  system.ini,  click it and it will open in a no...
  • 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 ...
  • Make Calculator Yourself using java.
    write a following code in netbeans IDE 7.1 and save file as calc.java and run it and you will have your own calculator...  /*  * To change t...
  • How To recover Saved Password In Firefox ?
    1. Open Firefox Web Broweser 2. Then Click on FireFox > Option > Option as shown in below picture 3. Then a POP Up box will appear, In...
  • How To Check Antivirus Strength or Test Antivirus Software or Check Antivirus Which is Used by You is Good or Worst?
    One of the most asked question is  Which antivirus has good strength or How to check antivirus strength? This post is for them who want to c...

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