How to Block Websites on Mac

Become a fan
[Total: 0    Average: 0/5]

Numerous web browsers offer plugins to enable you to remain gainful, and not open the websites you sit idle on, but rather you can make things one stride facilitate by just hindering your PC from getting to particular locales all together.

This is altering the Hosts file on your Mac are suggested, utilizing Terminal. Indeed, it looks a bit of threatening, however once you get its hang, you'll have restricted those websites over all browsers, and doing as such without depending on a plugin that may lose bolster when its designer becomes burnt out on refreshing it.

The underneath steps were performed on a MacBook Air running macOS High Sierra (10.13), yet they should work the same on all Mac from the most recent decade or somewhere in the vicinity.

1. Tap the magnifying glass in the upper right corner. On the off chance that it's not there, hit Command+Space.

How to Block Websites on Your Mac

2. Type "Terminal"002


Read also: How to Get Intel Chip Spectre Fix

3. Select Terminal.

003 3252651520011755

4. You've achieved the command line, it's a touch of scaring, yet don't worry.


5. I will give you a progression of commands to type in, and each will have quotes on the front and back, which you ought to disregard.

6. Type in "sudo nano/and so on/hosts"How to Block Websites on Your Mac

How to Block Websites on Your Mac

7. click Return.

8. Type your device administrator password.How to Block Websites on Your Mac

How to Block Websites on Your Mac

9. This is the host file database, tap the down bolt to move your cursor beneath the line that says " localhost"


10. Type in " " and after that the address of the site you need to block, making sure to keep a space between the numbers and the address. For instance, "" will block Facebook.


11. click return.

12. Type in " " took after by that address with the "www." prefix before it, for additional measure. For instance, ""


13. click return.

Read also: How To Download YouTube videos to an iOS device or Mac

14. click Control + O to save your change.

15. click Return.

16. click Control + X.

17. Type "sudo dscacheutil - flushcache"


18. click return.

Presently, when you open that website, in any program on that Mac, you'll get a message that says you can't access the website.


Read also: How to get more reddit karma easily

ify onuoha

Tech blogger and enthusiast, always at your service.

You may also like...

Leave a Reply