How to Block any Website in Android phone using hosts file 2017

By Admin
Advertisement

Hello geeks a warm welcome in my blog ETT ,today HERE i will teach you how you can easily control over any website on android mobile phone and basically managing them.Basically this post is only for those who want to secure their children from unusual sites like Facebook,twitter,porn sites,gmail,etc and other unwanted apps like play with porny,xxx ,and some games like subwey surfers,temple run etc.As a parent, this is your responsibility to provide proper direction to your kids. 


Here i give you a detailed tutorial so you can easily access your android hosts file and block websites in android mobile.Here i give you 3 ways to block any website on your android device .

1.) Blocking any certain website on android using android hosts file (Manual method)
 

2,) Block some websites using kaspersky parental control application
 


3.) Blocking some bad sites on android phone using a parental control app" trend micro mobile security"

Lets discuss all above method one by one without wasting your valuable time,i know the value of time ,

#1st Method- How To Block Any Certain Website On Android Using Hosts File (Manual Method)- Root Required

If you know bit about how to block a site on computer then you must know in case of pc we use a hosts file for control any particular website ,but did you know that also in android you can use a hosts file which is basically a text file.first i want to tell something about actually what is hosts file continue reading this post.


Step By Step To Edit Hosts File On Android For Block Site Using Es File Explorer

Step:1) first of all  you need to root your android device this is very important step for everyone ,for block any particular website . your phone must be rooted ,i know that rooting android device is not so easy as we think yes it is easy if we get proper rooting software or tool but don't worry here also the solution fir that situation if you don't know how to root your android device simply go to this link "how to root andoid phone" if in case you are unable to root your device simply go to this article i think it is helpful for you .    
 

Step:2) after that rooting your device download and install ES File Explorer in Your Android phone.you can download it from this given link

Step:3) now simply Open ES File Explorer in your Android phone
 
Step:4) now you need to give the super user permission to es explorer simply open menu >>tool>>and "on " the root explorer option (see below screenshots for clear understanding)
 
 Change and edit Android Host File and Block any Website in Android Phone with and without root 2015-2016

 Change and edit Android Host File and Block any Website in Android Phone with and without root 2015-2016

Step:5)  Select device / Device directory in your phone.

 Change and edit Android Host File and Block any Website in Android Phone with and without root 2015-2016

Step:6) Now you are in the root directory of your phone. Now click on the "etc" folder.    

 Change and edit Android Host File and Block any Website in Android Phone with and without root 2015-2016

Step:7) Here in this folder you can see many files Scroll down and now you find "hosts" file of your android phone.

 Change and edit Android Host File and Block any Website in Android Phone with and without root 2015-2016

Step:8) when you find "hosts" file simply Click on it and open as text.

 Change and edit Android Host File and Block any Website in Android Phone with and without root 2015-2016

Step:9) simply after that Choose "ES Note Editor"

 Change and edit Android Host File and Block any Website in Android Phone with and without root 2015-2016

Step:10) Now hosts file will be open like below picture
 Change and edit Android Host File and Block any Website in Android Phone with and without root 2015-2016

Step:11) see On the right above side button click on that and select "edit" option

 Change and edit Android Host File and Block any Website in Android Phone with and without root 2015-2016

Step:12) now in hosts file you need to make an entry of your website which you want to block .for example if you want to block www.facebook.com , www.twitter.com, www.google.com on your android device simply add below given line in the hosts file.
127.0.0.1   www.facebook.com
127.0.0.1   www.twitter.com
127.0.0.1   www.google.com


 Change and edit Android Host File and Block any Website in Android Phone with and without root 2015-2016
Note: This is make sure that you give a space line after last line in hosts file before save the hosts file, this is very important point otherwise you are not able block any website using hosts file.(see above screenshot for clear understanding)
Step:13) and in last when you make your websites entry in hosts file press back button it ask for "save the changes" simply click on save button and save hosts file( see below screenshot for better understanding)

 Change and edit Android Host File and Block any Website in Android Phone with and without root 2015-2016

Now you are successfully block some websites on your phone..through android host file editing.
Must read these tutorials:

#2.Method: How To Block Website Using Kaspersky Parental App 2017 Without Root

If that above method is too complex for you, you can install an anti-virus app such as kespersky parental control app that lets you block websites.The most advantage of this method is there is no need for rooting our device.to know How to restrict access to specific websites using Parental Control in android Follow given below instruction and learn how you can block a perticular website.


Step (1):
At first, download and install Kaspersky Parental Control app from this given link    


Step (2): After the installation, open the Kaspersky Parental Control app to configure it.

Step (3): After opening the app, you will be able to see the list of website categories. Select the categories you want to block.

Step (4):
When website categories selection is completed, Click on the Next button.

Step (5): Even, you can also block apps very easily. You have to just select the apps you wish to allow access on your android device and deselect which you wish to block.

Step (6): When the apps selection is completed, click on Next button.

Step (7): Now, you have set default browser for surfing the internet. It will select only the web browser is allowed.

Step (8): Next, you have to allow the device administrator permission of this app (Kaspersky Parental Control) so that your kids will be not able to uninstall it.

Step:9): After this set up, whenever your kids will open any unusual (bad) website they will see the blank screen with an error message like "Page could not be open" as shown below.


Must read article:

#3.Method:Block Unwanted Website Using Trend Micro Mobile Security App (no root required)

Follow below given steps:


Step:1) First of all you need to download an app called "trend micro". you can download it from here
 

Step:2) When you download it simply install it and open
 

Step:3) After open go to Options > Safe surfing.

Step:4) Now swipe to Parental Controls and click set up account. Create an account
 

Step:5) When you setup your account there successfully you'll see an option called Blocked List in the app simply Tap on it, 

Step:6) And tap Add button
 

Step:7)  Now add the websites you want to block one at a time.
 

Step:8) Once that is done, you won't be able to access these websites on your Android smartphone.


Must read these tutorials:
If you found this article useful for you then share your comments with us and share this article with your friend and on social media. If you want to get some of the best android apps, tips and tricks, android related step by step tutorials then check out our Android tricks  section