How to Block All Websites Except a Few on Computers and Phones

Rosa Reyes
June 29, 2021 Preview 17.7K Preview 0
share it facebook share it Twitter

If you are a parent, you can block all websites except a few on the computer and phone that your kid uses to completely control the content your kid can access online. If you are an employer, you can allow only certain websites on work computers to effectively reduce digital distractions and help keep your employees productive.

This article will show you how to block access to all websites except one or two (or more) websites.


How to block all websites except a few on Mac

Applies to: macOS 10.12 or later, including macOS 13 Ventura

If you are a Mac user, you can stop access to all websites except the ones that you allow on Google Chrome and Safari using Cisdem AppCrypt, the best website blocker and app locker for Mac.

Steps to block all websites except a few

1. Download the best website blocker. Install it.

Free Download macOS 10.12 or later

2. When you open it for the first time, set a password. Read the warning before you click Submit.

set a password

3. Click its icon in the menu bar and choose Open Main Window.

choose Open Main Window

4. Enter the password you set. Click OK.

enter password

5. Now you are in the main window. Click Web Block.

the main window

6. Switch from the default Block list mode to the Always Allow mode.

switch mode

7. Add an allowed website.

You can continue adding more websites that you allow yourself or others to access.

Now all websites except the ones that you have approved are blocked with password on Safari and Chrome. When one tries to open a blocked website, the website won’t open, and one will see this message.

this message

You can easily edit the Allowlist at any time.

Steps to unblock websites

1. Open the WebBlock window, as shown in Step 5 above.

2. Switch from the Allowlist mode to the Block list mode.

Make sure that the website(s) you need isn’t in the Blocklist.

Also, you can temporarily disable AppCrypt’s website blocking feature by clicking Disable WebBlocker.

click Disable WebBlocker


How to block all websites except a few on Windows

There are different ways to do the blocking on a Windows PC.

#1 Only allow certain websites on Windows with Cisdem AppCrypt

Applies to: Windows 7 or later, 64-bit required

If your computer is running Windows 7 or later, then you can get the job done with Cisdem AppCrypt, a tool to block websites and lock apps.

1. Download and install AppCrypt.

Free Download Windows 11/10/8/7

2. The first time you open it, set a password.

a dialog asking users to set a password

3. On the taskbar, click its icon. Alternatively, right-click the icon and choose Open Main Window.

clicking AppCrypt icon on the taskbar bringing up the Open Main Window option

4. Enter the password to access the main window.

a dialog asking for password

5. Choose the Web Block tab and install browser extensions when prompted.

a dialog asking users to install browser extensions

6. Turn on Block all websites in the bottom left corner. Click Exceptions in the bottom right corner.

the Web Block tab showing that the Block all websites option is turned on

7. In the Exceptions dialog that appears, choose the Always Allow tab and then add the specific websites that you allow.

In addition to manually adding website to allow, you can click Import > TXT file and import a list of website to allow.

#2 Block all websites except a few on Windows 10 with the LAN settings

Applies to: Windows 10 or earlier

However, Family Safety for Windows 10 removes the option to allow only selected websites. Luckily, there is still a built-in way to restrict all websites except a few.

1. On your computer, open Internet Explorer.

2. Click the Tools icon in the top right corner and choose Internet options.

3. In the Internet Options window that appears, go to the Connections tab. Click LAN settings.

the Connections tab

4. Check the box next to Use a proxy server for your LAN.

5. Enter “” in the Address box. Enter “80” in the Port box. Click Advanced.

6. In the Proxy Settings window, go to the Exceptions section.

7. Enter the websites that you want to whitelist. For example, to block all websites except Gmail, enter “”. Make sure that you use semicolons to separate websites.

8. Click the OK buttons.

Once the blocking is applied, all websites excluding the ones that have been whitelisted are blocked on Google Chrome, Internet Explorer, Microsoft Edge, Firefox or other web browsers on your Windows PC. This way, all potentially inappropriate or distracting websites are completely inaccessible.


How to block all websites except a few in Chrome on Android

Applies to: Android 10 or above

If you want your kid to be able to access only selected websites on his or her Android phone and stay safe online, you can try Google Family Link, a parental controls service by Google. It will require some setup. Let’s get started.

1. Install the Google Family Link app. Open it.

2. When asked if you want to create a Google account for your child, click Yes.

3. Create an account.

4. On your child’s Android device, sign in with his or her account.

5. Enter the password of your own account to verify that you are a parent.

6. Install Google Family Link on child’s Android device.

7. On your Android device, go to Parent settings in Google Family Link.

8. Tap Filters on Google Chrome. Now you have three options. Choose Only allow certain sites.

Parent settings

9. Tap Manage Sites and add specific websites to allow. For example, to block all websites except Google, add the domain URL “”.

Now all websites excluding the allowed ones are blocked on Chrome on your kid’s Android device. If your kid wants to use a website not in the allow list, he or she can send you a request. Once you approve the request, the website will be unblocked.


How to allow only certain websites on an iPhone or iPad

Applies to: iOS 12 or later

If your or your child’s iPhone is running iOS 12 or later, then Screen Time is available for you to control web content in a few ways, such as allowing only few websites.

1. On your or your child’s iPhone with Screen Time, go to Settings > Screen Time.

go to Settings

2. Tap Turn on Screen Time to enable it.

3. Tap Use Screen Time Passcode. Set a passcode. This is optional and recommended.

4. Tap Content & Privacy Restrictions.

tap Content & Privacy Restrictions

5. Enable Content & Privacy Restrictions, which will require you to enter the passcode.

6. Tap Content Restrictions > Web Content.

7. By default, all websites are allowed and accessible. You need to enable Allowed Websites Only.

8. Tap Add Website to add specific websites to allow one by one.

If your iPhone is running iOS 11 or earlier, don’t worry. There is a similar feature available. The feature is called Restrictions, and you can find it in Settings > General.

the Restrictions feature


Can you block all websites except one using hosts file?

The hosts file is a system file named “hosts”. You can find it on a Windows or macOS computer, an iPhone or an Android phone, etc. You may already know that it’s possible to block certain websites by editing the hosts file.

the hosts file

It’s also possible to use the hosts file to restrict Internet access to only certain sites. But it’s not recommended to do so unless you are confident with this method.

1. In the hosts file, list the IP address of each allowed website, followed by the website name.

2. To block all sites excluding the listed ones, you need to block all TLDs (top-level domains).

For details, please see this post.

Again, if you are not confident or familiar with this method, don’t try it.


Can you block all websites except one in router?

If your Wi-Fi router comes with parental controls containing a whitelist feature, then the answer can be yes.

It takes certain setup to apply the blocking. And the setup can be different, depending on the router brand and model.

If you don’t want to mess up with your router’s settings, please ignore this.

1. Access your router’s settings by logging in.

2. Find the parental controls, web filtering or similar settings. On some routers (such as ASUS ZenWiFi AX), the settings can be hidden in the firewall settings.

3. There should be two filtering types: the blacklist and the whitelist. Enable the latter.

web filtering settings

4. Add specific websites or URLs to the whitelist one by one.

5. Save your settings.

Now the blocking should be implemented on your web browser, be it Chrome, Internet Explorer, Firefox, Edge or Safari, etc.



We block certain websites to get rid of addictive, violent, explicit, drug or other unwanted websites. But sometimes it’s not enough. There are numerous potentially distracting or bad websites out there. They may be just a click away from your children, your employees or yourself. It’s a good idea to block all websites except a few needed ones. This article shows how to easily allow only few websites on computers and smartphones. I hope it helps.

Rosa Reyes
share it facebook share it Twitter

Rosa has worked in Mac software industry for more than eight years. She believes that the purpose of software is to make life better and work more productively. In addition to writing, Rosa is also an avid runner.

share it facebook share it Twitter
Comments (0) Leave a Reply

Name *

Comment *

Hot Articles

Facebook Parental Controls Guide: Make It Safer for Your Child How to Block Porn on Android Easily with or without App Roblox Parental Controls: How to Make Roblox Safe for Children
Home > How to Block All Websites Except a Few on Computers and Phones