Modify Hosts File & Block Websites On Android


As we all know we can block any websites from our computer using windows host files. If we are using wireless router, then also we can blog website using router, so we can prevent our children accessing porn sites from their device. But this is limited to wifi connection only, what if they activate data plan on their mobile and start using such sites? Well, you can edit & modify android host file to block specific websites. You can monitor your child’s activity on android, to check which sites they browsing most often. If you think the sites they are browsing are unsafe for your children, you can block that site using your computer by using following tutorial.


What is a ‘hosts’ file?


Hosts' file is a plain-text file in an operating system to map hostnames (like anything.com) to its IP address. Whenever you try to launch a website using its hostname, the operating system will usually search the ‘hosts’ file to find the corresponding IP address first.If the search is successful, then its mapped IP address is used; otherwise a query is sent to DNS (Domain Name Service) to find the IP address of that hostname.
This method uses ‘hosts’ file to block ads. This method blocks all ads in your device, including the ones shown in various apps and games
The methods here may work for both rooted and non-rooted devices. It will be specified for each method. Before we begin, you need a File Manager, eg: ES File Explorer Any other file manager will work fine.Now herer I work with  ES File Explorer


1. Now Simply install ES File Explorer in Your Android phone.

2. Open ES File Explorer in your phone

3. Select device / Device directory in your phone.


4. Now you are in the root directory of your phone. Now simply click on the etc folder.


5. Scroll down, now you find hosts file of your android phone.


6. Click on that and open as text.


7. Choose ES Note Editor.


8. On right above side button click on that and select edit


9.  Now right down  websites ,which one want you block and now save it


Now you can simply block any websites on your phone ..Now no one can open fb like websites .. 

Comments

Popular posts from this blog

Turn Your Android Mobile into Mouse and Keyboard