How to Block Websites in Android

In my previous post, I’ve discussed the steps to block websites on windows without software.

If you want to block websites in android for some reasons, you can do it easily with the following methods.

In this post, we will see 2 different methods to block websites on android device. Let’s get started.

Block Websites in Android

Method 1

In this method, we are going to use “mobile security & antivirus” by trend micro which has the ability to block websites.

Steps

  • Open the app.
  • Tap the safe surfing option.
  • Click the blocked list option at the bottom.
  • Tap the add option.
  • Now, give the name[optional] and website URL you want to block(in this instance, it is facebook).
  • The website should be added to the blocked list.

blocked list

Now, try to open the facebook and you’ll see this message.

block websites on android device

However, this method has a disadvantage. If you try to access the website (facebook) in the private mode, you can get access to it even though it is on the blocked list.

Method 2 [Rooted Device]

In this method, we are going to use the hosts file to block websites in android.

Advantages

Using this method has 2 advantages:

  • You can’t access blocked sites using the proxy.
  • You can’t access block websites in the private mode too.

A file manager is required for this method. In this instance, I’m using es file explorer and you can download it from here.

Steps

  • Install and open es file explorer.
  • Click on the homepage option on the top. In the pop-up screen, choose the “/  Device” option.
  • Navigate to etc folder. Tap the hosts file.
  • In the popup, select text and choose es note editor.

Now:

  • Click the pencil icon at the top.
  • In this instance, I’m going to block facebook. You need to add the website you want to block like this [see screenshot].

127.0.0.1 www.facebook.com

block websites in android

  • Hit the back button and press yes for the confirmation message.
  • Restart the mobile.

That’s it. From your handset, try to open the facebook and you’ll get an error message like this.

block websites on your android

You can use the same method to block all the websites you want.

Note:

The above method blocks the facebook. But, if anyone directly inputs the m.facebook.com in the browser, it will open the FB even though we blocked the FB. Please refer the following folder to block the website completely.

If you find the information in this post useful, please do share this post with your friends.

I hope that the information in this post is useful for you to block websites in android. If you have any questions, let me know in the comments.

6 Shares
Tweet
Share
+1