Question:

How to block a website

by Guest58412  |  earlier

0 LIKES UnLike

I am trying to block websites. Please tell me what I am doing wrong.

Click Start->All Programs->Accessories->Command Prompt2. Click Command Prompt This will open a DOS command window.

3. Type: notepad C:/Windows/System32/drivers/etc/hosts

4. Locate the line 127.0.0.1 localhost

5. To block the website google.com for example, just add this text under 127.0.0.1 localhost:

127.0.0.1 google.com

127.0.0.1 www.google.com

I'm not trying to block google, but anyway then what do I do because I try to save the file and it brings up a window that wants me to save it as host. I don't know what to do.

 Tags:

   Report

1 ANSWERS


  1. You don't block websites like that.

    I would advise all persons reading this question NOT to follow the steps set out by the questioner.

You're reading: How to block a website

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions