How to Block Sites on Safari

If you are patents and your childrens are using your iPhone, iPad or Mac, then this article is very important for you. Safari is a default web browser in all Apple devices. Also, Safari is a secure web browser, but there are many things you have to set if you are a parent, and your childrens are using your devices. There are some websites on the Internet which are not for all users. Age restrictions are important on the Internet. If you want to block any website in Safari, then this is a complete guide on How to Block Sites on Safari.

This guide will help you to control the type of content you want to allow your childrens. Apple lets you customize settings and block websites which are harmful to your childrens.

This safari setting will automatically stop and block adult content. It will blacklist specific websites. Here’s how to manage the parental controls in Safari browser.

How to Block Sites on Safari

If you want to prevent your children or your employee from specific websites, then you have to block those websites in Safari. This article is limited to iOS devices, using Safari as a default web browser.

You have to configure Safari and set Parental Lock for blocking websites on Safari.

How to Block Websites in Safari on Mac (macOS Catalina)

Step 1. Launch the Terminal from finder.

Step 2. In the Terminal type sudo pico /etc/hostsand and press Enter.

Enter the Admin password.

Step 3. The command will open the host file on your Mac. Scroll down to the end of the file and then create a new line to type.

Step 4. Type the IP and after that the URL or Site that you want to block.


Now press Enter. Add one URL per line.

Step 5. Once done, press Ctrl+O and Enter to save host file.

Step 6. Then Flush cache. Open terminal and type sudo dscacheutil -flushcache and press Enter to flush DNS.

It’s done!

Also Read: How to Factory Reset MacBook Air

How to Block Sites on Safari on Mac

Step 1: Go to System Preferences and then click on Parental Controls.

Step 2: Click on the lock icon to unlock options. Enter the Admin password.

Step 3: Select the User account that you want to lock and then click on the Web section.

Step 4: Now select Try to limit adult websites automatically > click on Customize.

Step 5: Find Never allow these websites option and then click on the “+” icon to add websites to block.

How to limit adult content in Safari for iPhone and iPad

If you are worried and want to keep your childrens safe from adult content, then follow this guide.

Step 1: Open Settings app on iPhone or iPad and then click on General.

Step 2: Click on Restrictions and enable it.

Step 3: Type a 4-digit password and then type again to confirm.

Step 4: Click on Websites under Allowed Content > click Limit Adult Content.

These settings will block all the major websites that are not for childrens in Safari.

How to block specific websites in Safari on iPhone and iPad

Step 1: Open Settings App on iPhone or iPad > go to General > Restrictions.

Step 2: Enable Restrictions > Set 4 digit password and then tap on Websites under Allowed Content.

Step 3: Also click on Limit Adult Content. Click on Add a Website under NEVER ALLOW.

Step 4: Type the URL of the website that you want to block and then click done.

Repeat this process for each site that you want to block on Safari.

Block Website on Mac Through App

There is an app, called Self Control, that allows users to manage these all things like website blocking and unblocking. You can even block URL, mail, and many other things using this Self Control App for Mac.

Final Words:

Hope you have successfully blocked a website on Safari. If you are still don’t get this guide and looking for how to Block Sites on Safari then comment below.

Leave a Reply