title: Emulate hosts file on non-rooted Android
body: <p>Is there a way to emulate the behaviour of a hosts file on non-rooted Android?</p>
  
  <p>I need to test a website on Android.  I get to the website via IP address but it seems to redirect to a URL that is not available from the phone.  So is there a way to emulate hosts file behaviour to map this URL to the correct IP address.</p>
  
  <p>From search I have found that the real hosts file is editable with a rooted device but that isn't currently an option for me. </p>