How to edit iPhone/iPad hosts file?

by Stephen on October 19, 2012 · 2 comments

in iPhone Unlocks

For this method, you need to jailbreak your iPhone/iPad. Once jailbroken => launch Cydia => search for iFile and install it.

Once install, start iFile.

When you first start iFile, you are placed in the /var/mobile directory. The hosts file is located in /etc/hosts so in order to edit it, you need to navigate to the /etc directory.

To do that, you click on “var” under your phone’s signal bar => next click on “/”

Now scroll up, find “etc” and click on it.

Find the file “hosts” and click on it => then click on Text Viewer.

Now click on “Edit” (below your signal bar) and start editing.

Have fun.

{ 2 comments… read them below or add one }

Jasem December 19, 2014 at 10:09 am

I can’t find hosts in /etc using iFile


Mathew January 11, 2015 at 6:10 pm

What exactly is the host file and what does it contain?


Leave a Comment

Previous post: