What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 15548 |  Welcome, Guest!   Register  Login
 Home > Blogs > Others > How to Block Particular Websites in your System? ...
Johnbhatt

How to Block Particular Websites in your System?

 Blog author: Johnbhatt | Posted on: 7/3/2012 | Category: Others Blogs | Views: 1072 | Status: [Member] | Points: 75 | Alert Moderator   


Are you Administrator in your Company, Is it your Responsibility to Manage Network in your Office. Or you have little Brothers and sisters who are addicts of Social Network?

When I was answering in Community Websites and some other Web Tutorials, Most frequent question I was asked was How Can I Block particular Website in my machine/my employees machine?

(How can i block some website permanently like (facebook.com) and more social site on my employees computers.)

Best way to block such site is using Router Setting if possible.
 
Prental control and Content Advisors are also Options but Are some traditional and annoying to Employee.
Best method to do so is Change some setting in Hosts File. I am going to tell you about that. To do so, You have to change some setting in individual PCs for doing so.
 
Open Notepad with Administrator Rights.
 
Ctrl+O to Open File. Choose File Path Below.
 
Windir:(C: )\Windows\System32\drivers\etc
 
Change File Type to All Files from Right Bottom Corner.
 
Choose hosts file and open it.
You Will See below Lines at Last of Page

# 127.0.0.1       localhost
# ::1             localhost

Now Just add this code to Block facebook


Using IPv4

 127.0.0.1 www.facebook.com
 127.0.0.1 facebook.com

Using IPv6

       ::1             www.facebook.com
       ::1             facebook.com

 
Now Just save this File. If you are using Antivirus, This may disinfect it, So Disable Real Time Protection for some time and After saving changes enable those Setting of Antivirus.




John Bhatt
Glad to Know, Free to Share.....
http://www.johnbhatt.com
Found interesting? Add this to:



 More Blogs from Johnbhatt

 More ...

About John Bhatt

Experience:4 year(s)
Home page:http://www.johnbhatt.com
Member since:Thursday, June 21, 2012
Level:Starter
Status: [Member]
Biography:John Bhatt is an IT Professional having interest in Web technology. He is Web Designer, Developer, Software Developer, Blogger and Technology Geek. Currently he writes his Blogs at Blog of P.Yar.B and various other Sites. He is Main author and founder of Download Center. Contact Him at : Facebook | Twitter | Website.

 Responses

Ketvin
Posted by: Ketvin | Posted on: 7/5/2012 | Level: Starter | Status: [Member] | Points: 15 | Alert Moderator 

If you would like to block a website from being viewed on your Windows computer, follow these steps:

C:\WINDOWS\system32\drivers\etc

First backup the hosts file.

Open hosts file there from the notepad.

At the end of the line you can see as per below.

127.0.0.1 localhost

Append the following line at the end

127.0.0.1 BlockSitename.com # replace the BlockSitename.com with the site name that you want to block.

then go to Start->Run-> type ipconfig /flushdns

Enjoy.

Johnbhatt
Posted by: Johnbhatt | Posted on: 7/5/2012 | Level: Starter | Status: [Member] | Points: 15 | Alert Moderator 

Thanks for reading post. Hope this was helpful to you...

John Bhatt
Glad to Know, Free to Share.....
http://www.johnbhatt.com

Karthikreddy
Posted by: Karthikreddy | Posted on: 2/11/2013 | Level: Starter | Status: [Member] | Points: 15 | Alert Moderator 

it not working in my system any other option please !

k@rth!k
karthikreddy08a50@gmail.com

Johnbhatt
Posted by: Johnbhatt | Posted on: 2/11/2013 | Level: Starter | Status: [Member] | Points: 15 | Alert Moderator 

Hello Karthik,

Can you please revert with your operating System, Antivirus and procedure you have followed. Modified and tutorial with snapshot has been published at my blog also. For reference, you can visit http://www.prithviraj.com.np/2012/06/how-can-i-block-some-website.html .

All the best,

John Bhatt
Glad to Know, Free to Share.....
http://www.johnbhatt.com

Johnbhatt
Posted by: Johnbhatt | Posted on: 2/11/2013 | Level: Starter | Status: [Member] | Points: 15 | Alert Moderator 

Hello Karthik,
Can you please reply with your operating system name, antivirus, and procedure you had followed. You can visit new post with snapshots at my blog at below link.

http://www.prithviraj.com.np/2012/06/how-can-i-block-some-website.html

All the best.

John Bhatt
Glad to Know, Free to Share.....
http://www.johnbhatt.com

>> Write Response - Respond to this post and get points

More Blogs

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/21/2013 6:44:35 PM