You are viewing the article How to Block Websites on Mac at Tnhelearning.edu.vn you can quickly access the necessary information in the table of contents of the article below.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 2,730 times.
In this article, wikiHow will show you how to block a website on your Mac. While there’s no built-in way to block access to certain websites on Mac, you can adjust the host file or the file that stores the server’s IP information and the domains it points to to block certain sites or Download the SelfContrp app to block them for a predetermined time. You can also use parental controls available on Mac to block access for other accounts.
Steps
Use hosts file
. Click the magnifying glass icon in the upper right corner of the screen. A search bar will appear in the center of the screen.
Terminal. It’s the first result that appears under the Spotlight search bar. The Terminal application will be opened.
sudo nano /etc/hosts
into Terminal, then press ⏎ Return . The host file, the file that controls access to your web pages, will be opened. - When typing, the character contained in the password is not displayed. Therefore, you will not be able to see them on Terminal.
- It may take a while to open the host file.
127.0.0.1
and then press Tab ↹ to leave some space between 127.0.0.1 and the next part of the text. - For example, to block Google, you would type: 127.0.0.1 www.google.com .
- If you are going to block multiple websites, each URL must be on its own line.
sudo killall -HUP mDNSResponder;say DNS cache has been flushed
and pressing ⏎ Return . Basically, clearing DNS will refresh your browser’s memory, preventing you from accessing blocked pages through saved settings or the like. Using the SelfContrp . app
- This is what makes SelfContrp really effective but at the same time it also means that you will have to be careful about blocking the site.
, type selfcontrp , and click SelfContrp just below the search bar.
- For example, you would type www.youtube.com to block YouTube.
Use parental controls
(Apple menu). Click the Apple logo in the upper-left corner of the screen to drop this menu down.
- This method only blocks websites on Safari.
- Through parental controls, you cannot apply this website blocking to your own account, you can only use it for another account.
- To do this, you must have an administrative account.
- You cannot choose your own account.
- If no user is listed, select “Create a new user account with Parental Contrps” and click Continue .
- For example, to block Twitter, you would type www.twitter.com .
Advice
- Some routers allow website blocking from their configuration page.
- If you select “Limit apps” on the Apps tab of the Parental Contrps menu, you can remove all other web browsers and keep Safari only from the selected account, keeping them out of the way. parental controls using another browser.
Warning
- There are many alternatives to the host file method. You may have to block multiple instances of the same site, including its IP address.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 2,730 times.
In this article, wikiHow will show you how to block a website on your Mac. While there’s no built-in way to block access to certain websites on a Mac, you can adjust the host file or file that stores the server’s IP information and pointed domains to block certain sites or Download the SelfContrp app to block them for a predetermined time. You can also use parental controls available on Mac to block other accounts’ access.
Thank you for reading this post How to Block Websites on Mac at Tnhelearning.edu.vn You can comment, see more related articles below and hope to help you with interesting information.
Related Search: