Change Android Host File and Block Website in Android Phone

What is a ‘hosts’ file?     ‘hosts’ file is a plain-text file in an operating system to map hostn...



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

Here i edit android host file from two method.
Direct Host file Location Editing Method from ES File Explorer
This method works only in rooted android phone. First you need a ES File Explorer. Es file explorer is file manager for android phone. Download ES File Explorer here. Go to Android host file location.

  •     First install ES File Explorer in Your Android phone
  •      Open ES File Explorer in your Android phone
  •     Select device / Device directory in your phone.
Now you are in the root directory of your phone. Now click on the etc folder.

  

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

 

Click on that and open as text.

Choose ES Note Editor.


 On right above side button click on that and select edit

  • On right above side button click on that and select edit
  •   Now right down  websites ,which one want you block and now save it 

Eg:    127.0.0.1   facebook.com
Now you block any websites on your phone..through android host file editing.
You done android host file edit from android app.

Android Host File Editor(Android APP)

 *** FOR ROOTED DEVICES ONLY ***


Hosts manager application helping developers willing to modify their /etc/hosts (/system/etc/hosts) file easily.

This could be very useful if you need to test your app on a specific server via its IP.

Name

android facebook free-zone Freebies hacking How-to programming scripts video whatsapp
false
ltr
item
Mr Tricks: Change Android Host File and Block Website in Android Phone
Change Android Host File and Block Website in Android Phone
http://1.bp.blogspot.com/-3kl0L-Ojb9c/UuZ8ymirOII/AAAAAAAAAnw/O3pDAvKmY5w/s1600/IMG_20140127_193846.JPG
http://1.bp.blogspot.com/-3kl0L-Ojb9c/UuZ8ymirOII/AAAAAAAAAnw/O3pDAvKmY5w/s72-c/IMG_20140127_193846.JPG
Mr Tricks
http://mr-tricks.blogspot.com/2015/05/change-android-host-file-and-block.html
http://mr-tricks.blogspot.com/
http://mr-tricks.blogspot.com/
http://mr-tricks.blogspot.com/2015/05/change-android-host-file-and-block.html
true
248440411475805434
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy