HostOnNet Blog

Easy way to block sites on LAN

Looking for Linux Server Admin or WordPress Expert? We can help.

If you need to give limited access to users on LAN, you can use free proxy software from

This is a great software, you can have good control on your network and see who is accessing which web site.

There is a simple way to disable access to a web site on all users on the LAN. This is done by editing hosts file on the main PC that connect to internet, normally one with IP

On Windows


On Linux


Add following

Once this is done, no one on the network will be able to access

Repeat the same for all sites you need to block.

yahoo is just an example, don’t block yahoo 🙂

Posted in Web. Bookmark the permalink.

3 Responses to Easy way to block sites on LAN

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.