How to Block Websites in Ubuntu

How to Block Websites in Ubuntu thumbnail
How to Block Websites in Ubuntu

Ubuntu can access the Internet just as well as any other Linux- or Windows-based operating system. However, if you don't want some users in your household to access certain websites such as Youtube or Facebook, Ubuntu can block these websites from within the operating system itself.

Instructions

    • 1

      Open the Terminal app found in the Accessories folder in the "Applications" menu.

    • 2

      Type "sudo gedit /etc/hosts" in the prompt that appears.

    • 3

      Add a line under the "127.0.0.1" line that reads "0.0.0.0" followed by the website you want to block.

    • 4

      Click the "Save" button, then restart your computer to make the changes take effect.

Related Searches:

References

  • Photo Credit Comstock Images/Comstock/Getty Images

Comments

You May Also Like

  • How to Block an IP Address in Ubuntu

    Ubuntu Linux ships with the Netfilter stateful packet-inspecting firewall. Using the "iptables" command, you can configure your Ubuntu system to block packets...

  • How to Unblock Websites

    Many schools and companies have cracked down on Internet usage. Sites that are labeled as "unnecessary" are frequently blocked and inaccessible by...

  • How to Block a Website in Internet Explorer

    Blocking websites in Internet Explorer can come in especially handy when children are surfing the Web.

  • How to Build Websites With Ubuntu

    Ubuntu is a free, open-source, Linux-based operating system. Anyone can download and install this operating system on their computer, and once it...

  • How to Block Sites in Linux

    Blocking access to certain websites can be useful for a variety of reasons. An effective site-blocking scheme can safeguard Web browsing for...

  • How to Find an IP in Ubuntu

    When it comes to networking, knowing your IP address is essential. If you're new to Linux, you might not be aware just...

  • How to Find IP Addresses on Ubuntu

    Ubuntu Linux is an operating system currently being sold on computers from companies like Dell and System 76. Some even choose to...

  • How to Block Websites Easily and for Free

    You'll find many products for blocking websites. Some work for the general user who wants to block spammers while others are for...

  • How to Block Someone on Facebook

    As can happen in any large public group, you occasionally run into someone on Facebook who is a nuisance on the site....

  • How to Upload Files to an Ubuntu Server

    The GNU/Linux operating system is commonly used among Web hosting providers. If you manage a website, mailing list, discussion forum, or database,...

  • How to Block an IP Address Using IPtables

    Comments. You May Also Like. How to Block an IP Address in Ubuntu. Ubuntu Linux ships with the Netfilter stateful packet-inspecting firewall....

  • How to Block a Website in Linux

    Sometimes certain websites can limit your productivity. If you are a Linux user, you can quickly and simply avoid such websites by...

  • How to Block School Websites

    All Windows computers come with the capability of blocking specific websites. School websites will operate over an Internet protocol (IP) address, which...

  • How to Unblock Blocked Websites at School

    Schools often attempt to block access to popular websites for a number of reasons. Whether or not these blocks are justified or...

  • How to Block Your Wall on Facebook From a Friend

    Blocking a friend from seeing your Facebook wall is a nice way of remaining friends with the person, but not allowing her...

  • How to Install Wine on Ubuntu

    Wine is a free alternative to Windows API, one that provides a development toolkit as well as a program loader. In order...

  • How to Use Camfrog on Linux Ubuntu

    Having trouble getting Camfrog to work on Linux Ubuntu? There are several ways to go about this using Wine, but you'll find...

  • How to Block an IP Address With Linux

    The Linux operating system uses a program called IPTables to manage the blocking and allowing of websites and IP addresses. By configuring...

  • How to Filter Spam in Ubuntu

    Linux-based operating systems like Ubuntu may be immune to most spyware and viruses, but spam can get through to any email system....

  • How to Block Websites on Safari

    You can block websites on Safari quite easily with the OS X operating system's built-in parental controls, which can be enabled by...

Related Ads

Featured