Is it possible to add entry to hosts file on Android without rooting phone?

I am contractor working in remote and I have to use AirWatch and Cisco AnyConnect to get access to VPN, but if I root Samsung tablet (SM-T700, 5.0.2) then I can't get access to VPN. All what I actually need is to access web application behind that VPN with either Firefox or Chrome. It's just adding: ip.ip.ip.ip jbossWorker100.intranetOfCompany.com

I already rooted tablet, changed host file, but then I can't get access VPN, and if I unroot it then I can get through VPN but I can't get to the app.

1 Answer 1


This is not possible. You can, however, run your own DNS server on a local network, that could emulate this behaviour on all appliances that are connected via it.

  • We don't have local DNS server on our LAN, so maybe I should check if ruter has that capability? Sep 7, 2015 at 17:14
  • That should work.
    – jficz
    Sep 7, 2015 at 22:04
  • @mikky Could you provide a link to a reliable way to run a local DNS server? And could this be used if you're only internet is through wifi tethering? Oct 31, 2017 at 16:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .