The hosts file, used to map hostnames to IP addresses. This tag is for questions relating to usage of this file, including reading and modifying its contents to change which IP a hostname is mapped to.

learn more… | top users | synonyms

2
votes
2answers
4k views

Editing Hosts File to Redirect URL to different IP Address

When I edit my hosts file to redirect a URL to a specific IP address, nothing happens. My hosts file looks like this - 199.204.138.195 zionica.com this is in the directory /private/etc/hosts. I am ...
3
votes
2answers
676 views

Unable to revert changes to hosts file in OS X Lion

I edited the hosts file and added: 10.0.0.1 devsys.crossreader.net Later I commented out the entry: #10.0.0.1 devsys.crossreader.net When I ping or browse to devsys.crossreader.net the returning ...
3
votes
2answers
2k views

Lion “hosts” File Bug

I have some serious problems with the hosts file on my Lion 10.7.2. My hosts file is like following; 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost 27.0.0.1 ...
1
vote
1answer
921 views

Using hosts file on Mac OS X Snow Leopard

I have added two new host entries in /pricate/etc/hosts 127.0.0.1/wys/sub-folder local.wys 127.0.0.1/les/sub-folder local.les I have flushed the DNS using dscacheutil -flushcache I ...
0
votes
1answer
1k views

Adding an entry to the hosts file on iPod touch 4G?

Is it possible to add an entry to your /etc/hosts type file (or whatever the equivalent is) on an iPod Touch 4G without jail breaking it?
2
votes
2answers
212 views

Why does OS X's Apache server give different results using real and virtual addresses?

I'm developing a WordPress site on my Mac, running OS X 10.6.4. I'm using OS X's built-in Apache server to run the site locally during development. I've set up WordPress and connected it to OS X's ...