KeepTheTech

Menu
  • Home
  • Tech
  • Gaming
  • Android
  • Windows
  • iOS
  • Mac
  • Software

Home - Technology - How To Block Websites On Safari (MacOS)

About The Author

Mritunjay Jadon

Mritunjay Jadon has expertise's in Education Tech, Gaming, Apple Watch, iOS, macOS and tvOS. Mrtiunjay is writer and editor with more than 9 years of experience writing technology, news, reviews on Gameinstants, KeepTheTech and StreamingCord. Read more information about Mritunjay here

Technology

How To Block Websites On Safari (MacOS)

Mritunjay Jadon

We going to tell you some of the ways through which you can easily block websites on Safari.  Parental Control is a feature that blocks all inappropriate websites, All you’ve to do is to enable a feature.

However, you want to know how to block websites on the Safari web browser on Macbook. Here we demonstrate how to block websites and how to enable parental controls in macOS.

Follow given below step by step guides to block websites on the Safari browser.

block websites on Macbook

Block Websites on Safari Web Browser

Safari is a browser available for macOS and iOS platforms. However, we going to tell you to block websites on safari without a website blocker.

Generally, on Google you find out lots of ways, to block websites on safari, here we show the fastest way to block a site using a terminal.

Step 1:

Launch the Terminal (Just search for a terminal in the spotlight).

Step 2:

Now in Terminal enter the given following command line. Hit the ” Enter” button on the keyboard

sudo pico /etc/hosts

After hitting the Enter button you will be asked for Administrator Password.

Step 3:

Once are you’ve entered the correct administrator password you the Terminal Text Program will be started. The command line will open a host file you’ve to scroll down to the bottom and press Enter. To create a new line.

Step 4:

Now all you’ve to do is to enter the following data. Type the IP 127.0.0.1 followed by the URL or Site address. i.e: 127.0.0.1 www.google.com. And hit Enter button. However, there is a catch you can only add one website on a single line.

block websites on safari

Step 5:

After entering the website’s names in the file, press “Ctrl + O” then hit Enter to save the file.

Step 6:

Final Step, In this only you’ve to flush your cache in order to take effects in settings. Just open the Terminal and enter the following command line “sudo dscacheutil -flushcache” to flush the DNS.

Now launched the safari web browser and try to open the website you’ve blocked. If all goes correctly you won’t be able to open the websites on safari browser or any other web browser on your Macbook.

How To Enable Parental Controls In Macbook

Parental controls are the feature that protects or block to access inappropriate websites. Basically, this feature is helpful for parents to block all inappropriate websites on the web browser for their kids.

Here, it’s a simple way to enable Parental Controls in MacOS. Follow given below step by step guides to activate Parental Controls.

Step 1:

Go to Apple Menu (through spotlight) > System Preferences. And click on Parental Controls.

Note:  For some users, if you’ve open System Preferences, If you see the message like this “There are no users account to manage”. This means you’ve to add a managed users to your Macbook.

Step 2:

Now after the first step, Click on the lock icon to unlock it, after type administrator name and password. After that select the user and Enable the Parentals Controls.

Prev Article
Next Article

Related Posts

  • How to Calculate Square Feet of a House [Explained]
    How to Calculate Square Feet of a …
    April 11, 2020 0
  • How To Password Protect File or Folder in Windows 10
    How To Password Protect File or Folder …
    August 27, 2021 0
  • How To Download Music From Spotify
    How To Download Music From Spotify
    March 9, 2020 0
  • Use Command Lines To Turn On / Turn Off Bluetooth In Windows 10
    Use Command Lines To Turn On / …
    July 24, 2016 0
  • How to Convert JPG to PDF on Windows 10
    How to Convert JPG to PDF on …
    April 18, 2020 0

KeepTheTech

Copyright © 2023 KeepTheTech
Terms & Services / Privacy Policy / About Us / Contact Us DMCA.com Protection Status

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh