Solved

how to block one website

Posted on 2014-11-04
8
281 Views
Last Modified: 2014-11-10
Is there a way to block only one website using the host file or some other file in the computer?

without using opendns...
0
Comment
Question by:al4629740
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 167 total points
ID: 40423321
The common way is to put it in the host file like this:

127.0.0.1  www.blockedsite.com

That works because there won't be any response from 127.0.0.1
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40423464
Yep I would modify the hosts file as above.

You can also look at blocking access to the site on your router if you need to do it for more than one person, otherwise you would have to go around and modify everyone's hosts file.
0
 

Author Comment

by:al4629740
ID: 40425286
Will this override the DNS server?
0
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
LVL 24

Assisted Solution

by:VB ITS
VB ITS earned 333 total points
ID: 40425291
Will this override the DNS server?
If you are referring to the hosts file then yes. If you decide to block it at the router then it won't override DNS, your router will just block any outgoing traffic to the site - this is subject to the capabilities of your router though.
0
 

Author Comment

by:al4629740
ID: 40425304
What if I use open DNS at the router and I want to block an additional site at the computer using a host file?
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40425315
On how many computers do you need to block access to this website? If it's just a few then it would be easier to modify each computer's hosts file.
0
 

Author Comment

by:al4629740
ID: 40425499
just a few
0
 
LVL 24

Accepted Solution

by:
VB ITS earned 333 total points
ID: 40425500
In that case it would be easier and less time consuming to modify the hosts file one each of the machines. No real need to mess around with your router.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OnPage: Incident management and secure messaging on your smartphone
Ransomware continues to grow in reach and sophistication, putting data everywhere at risk. Learn how to avoid being caught in its sinister clutches with these 11 key tips.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question