![]() ![]() When done, press ctrl x and then Y to save changes. For each website you want to block, start a new line and type the same command with only the name of the website being replaced. Type the name of the website in a new line in this format "127.0.0.1 (minus the quotes). This will open the file /etc/hosts in a text editor. ![]() Enter the user (login) password when prompted. Type sudo nano /etc/hosts and press enter. ![]() You can find it under /Applications/Utilities/Terminal. Make sure you have administrator access to your Mac. Reboot your computer for the changes to take effect and you'll find that all those websites are now blocked. Repeat this step until you've added all websites you want to block.Ħ. You can block as many sites as you want this way, but remember you can only add one per line.ĥ. To block Google, for example, add "127.0.0.1 to the end of the file without the quote marks. To do this, just add a line at the end of the file, with 127.0.0.1 and then the name of the site you want to block - this will redirect the site's name to your local computer.Ĥ. At the end of the file, you can add the addresses of websites to block. In the pop-up, select the account again and check Full control. Click the Security tab, select the administrator account and click Edit.Ģb. In case you can't edit the file, you'll need to right-click the file labelled hosts and select Properties. The last two lines of your hosts file should read "# 127.0.0.1 localhost" and "# ::1 localhost".Ģa. Double-click the file named "hosts" and select Notepad from the list of programs to open the file. Sign in to your PC using an administrator account and go to C:\Windows\System32\drivers\etc\Ģ. Make sure you have administrator access on your computer. We checked this method with both Windows 7 and Windows 8.ġ. This can be used to disable access to unwanted websites. While you use DNS servers to get to websites, your computer also has something called a HOSTS file which can have this information stored locally. ![]() One of the backbones of the Internet is the DNS system that translates easy to remember (and type) names such as into equivalent IP addresses (8.8.8.8). How to Block Any Website On Windows Computers This method for blocking websites is not too hard to configure and will work across browsers. If you want to control access to websites on just one machine, then you can set up block at the operating system level. You can choose to block websites only on specific browsers, the entire operating system, or indeed your network router. There are different ways to go about blocking websites. In such cases, it might be best to block certain websites. While you may well be more than capable of avoiding these websites, but that doesn't stand true for every one who uses your device. Some websites could be spreading viruses, contain explicit content or even be trying to steal your personal data. You can set focus time and also block websites during those focused, deep work sessions.There are several reasons why you might want to block certain websites on your computer. The Friday Planner and Chrome extension does exactly that. What if you had a planner/to-do list and a website blocker with the same Chrome extension? That way you could block a distracting website while also checking off your to-do list items. Instead, these tools wall off distraction sources, making it impossible for you to get sidetracked.įorced to focus on work, you'll find you finish jobs faster and have more time for the things that matter you know, like watching cat videos. With a website blocker, you need not rely on feeble willpower to keep yourself focused. Distractions are everywhere! How are you supposed to get anything done? "How did I end up here?" you ask yourself as you click another meme. Have you ever sat at your desk, ready to conquer the day only to find yourself scrolling through your social media accounts and news sites? ![]()
0 Comments
Leave a Reply. |