Thursday 1 August 2013

How to block a website on an android phone

android phone tips and tricks


Introduction:

So you are one them who share their android phone with friends, family and others . And you share your mobile with them because they want to use facebook,Twitter, or many other social network sites in your mobile. But inside you don't want to give them your mobile because you want to keep things private and you cannot do any thing about that. Here comes the solution website blocking.If block those websites which every used to open through your device then every one just nothing have have to do with your device.


What is website blocking and how it works in android devices ?


Website blocking is a method through which you can restrict some websites to reach to your device. In pc's this method can be don by editing windows host file but in android it was very difficult to block websites through host file unless this method was invented.

What is a host file and where it is located??

A host file is a system file of windows operating system and android operating it still not found in iphone, iPad,or tab I have found it only in android devices. It is generally located at system/etc directory of pc and android.

Is websites can be blocked by using apps??

Yes websites can be blocked by using apps available in google play but the problem is many of them cost you Money and many of them are only supported by higher version of android and these apps can can viruses or so many bugs. My question is why to wast time and money for these apps if you know about hosts file.

Things you will need:





  • Es file explorer: you can use any other file explorer i have mentioned it because i am using it. So it will better for you to follow the tutorial with es file explorer.





  • Total command editor: In this tutorial i am using it because we have to provide admin permissions to edit host file.

  • Follow these steps to block the websites in your android phone:

    1) Open es file explorer if you are opening it first time then you can see a box at the top. Box contain two columns. In first column you can see a  / and in the other column you can see sdcard.


    hacknoclub.blogspot.com

    2) Click on / it will open device directory if you are not opening es file explorer first time then you have click the first column unless you find the device directory.


    3) In device directory goto system/etc there you will find host file
    now open it with total command editor


    hacknoclub.blogspot.com
    4) Open that file a window will appear containing some options press the text options now another window will appear 
    containing some options now press total command editor


    5) Now blow 127.0.0.1 localhost ::localhost 
    type the website you want to be blocked


    Method of typing the website:

    for example if you want to block facebook then
    type: 127.0.0.1 facebook.com and save it. 
    Try opening facebook from your browser if it shows some error then you are done .



    voila you have blocked website from your android phone if you like this share it with your friends and don't forget to like us on facebook.


    If you are facing any kind of difficulties i am always here to help you just comment i will answer






    Share:

    66 comments:

    1. How to change permissions or provide admin permissions to host file.

      ReplyDelete
    2. How to change user permissions for Hosts file.

      New to andriod. pls be detail.

      Thanks

      ReplyDelete
    3. hi i have the sony ericsson walkman phone and i just dont understand how to block a website on it. i don't think i can use the method you showed above. can you help me out please?

      ReplyDelete
    4. i changed the hosts file and tried to save, but the error "file write error" is appeared.

      ReplyDelete
    5. HOW TO BLOCK A WEBSITE ON SAMSUNG DUOS

      ReplyDelete
    6. hi, thanks for the info --my prob is that when i save the hosts edit i get: Error writing file: /system/etc/hosts
      why am i unable to perform this action??

      ReplyDelete
    7. How To Use Block Sites On Google Chrome?
      http://unitedhackingarticle.blogspot.com/2014/08/how-to-use-block-sites-on-google-chrome.html
      How To Use Block Websites On Mozilla Firefox?
      http://unitedhackingarticle.blogspot.com/2014/08/how-to-use-block-websites-on-mozilla-firefox.html

      ReplyDelete
    8. iam unable to save the blocked website

      ReplyDelete
    9. Safebrowser is a very good app to block certain websites on android. Parental Flux is also 1 of the app to achieve the same. You can use hosts file too for blocking websites. How to block a website

      ReplyDelete
    10. Unable to save edited host file

      ReplyDelete
    11. my friend the trick you explained here works good with Windows OS but not for Android OS.

      ReplyDelete
    12. Sir, i would like to know some solution in case i dont have rooted phone. THX

      ReplyDelete
    13. Sir, i would like to know some solution in case i dont have rooted phone. THX

      ReplyDelete
    14. Each time I try to save it says: ''Error occured when trying to save the file. It will be not saved" I should I go about this?

      ReplyDelete
    15. I went to this website, and I believe that you have a plenty of excellent information, I have saved your site to my bookmarks. คาสิโนขั้นต่ำ10บาท . https://sexybaccarat365s.com/ . คาสิโนออนไลน์บนมือถือ

      ReplyDelete
    16. I went to this website, and I believe that you have a plenty of excellent information, I have saved your site to my bookmarks.
      คาสิโนออนไลน์บนมือถือ
      "Sexy Baccarat
      "
      คาสิโนออนไลน์

      ReplyDelete
    17. I conceive you have noted some very interesting points, regards for the post.
      รีวิวเว็บพนันeBET

      ReplyDelete

    18. I read this article. I think You put a lot of effort to create this article. I appreciate your work. เว็บพนันออนไลน์UFABET . เว็บพนันUFABET .

      ReplyDelete
    19. We provide best services to all class of clients. สมัครufabetเว็บตรง

      ReplyDelete
    20. Wohh just what I was looking for, regards for posting. แทงบอลสดUFABET

      ReplyDelete
    21. This is a great web site, Good sparkling user interface and, very informative blogs. thanks. You may check our website also ยูฟ่าเบทขั้นต่ำ10บาท

      ReplyDelete
    22. I read this article. I think You put a lot of effort to create this article. I appreciate your work.คาสิโนออนไลน์ยูฟ่าเบท

      ReplyDelete
    23. I conceive you have noted some very interesting points, regards for the post. เดิมพันกีฬาออนไลน์

      ReplyDelete
    24. I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work. คาสิโนเว็บUFABET

      ReplyDelete
    25. We provide best services to all class of clients. คาสิโนSexy gaming.

      ReplyDelete
    26. This comment has been removed by the author.

      ReplyDelete
    27. I value the article.Thanks Again. Much obliged. Sexy Baccarat

      ReplyDelete
    28. I conceive you have noted some very interesting points, regards for the post.Sexy Baccarat

      ReplyDelete
    29. Photos available on your site even though producing attention rapidly some quantity submits. เกมยิงปลาออนไลน์1XBET.

      ReplyDelete
    30. This is a great web site, Good sparkling user interface and, very informative blogs. thanks. You may check our website also .AE Sexy

      ReplyDelete
    31. Wohh just what I was looking for, regards for posting. Sexy Baccarat.

      ReplyDelete
    32. I conceive you have noted some very interesting points, regards for the post. เว็บไซต์คาสิโนยูฟ่าเบท .

      ReplyDelete
    33. I value the article.Thanks Again. Much obliged. เกมคาสิโน

      ReplyDelete
    34. I read this article. I think You put a lot of effort to create this article. I appreciate your work. คิงคาสิโน .

      ReplyDelete
    35. Wohh just what I was looking for, regards for posting. ไฮโลออนไลน์เว็บไหนดี

      ReplyDelete
    36. I conceive you have noted some very interesting points, regards for the post . Joker Gaming

      ReplyDelete
    37. Wohh just what I was looking for, regards for posting. สมัครUFABET.

      ReplyDelete
    38. I read this article. I think You put a lot of effort to create this article. I appreciate your work. เกมไพ่ป๊อกเด้งออนไลน์

      ReplyDelete
    39. I read this article. I think You put a lot of effort to create this article. I appreciate your work. ทางเข้าเล่นเกมไพ่ป๊อกเด้ง

      ReplyDelete
    40. I went to this website, and I believe that you have a plenty of excellent information, I have saved your site to my bookmarks. a href="https://ufa800news-55.webself.net/blog/2022/08/19/titre">เล่นยูฟ่าสล็อตบนมือถือเว็บตรง UFASLOTบนมือถือ

      ReplyDelete
    41. I went to this website, and I believe that you have a plenty of excellent information, I have saved your site to my bookmarks. เกมสล็อตออนไลน์บนมือถือUFABET

      ReplyDelete
    42. I conceive you have noted some very interesting points, regards for the post. ทางเข้าสล็อตขั้นต่ำ10บาท

      ReplyDelete
    43. I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work. เล่นสล็อตเว็บตรงได้เงินจริง

      ReplyDelete