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

3
votes
2answers
683 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 ...
4
votes
1answer
488 views

DNS: Search Domains not working correctly?

I am running OSX Lion. I've looked all over the web for solutions to the issue I'm having and can't find a fix. I've found several entries where uses are trying to resolve custom_hostname.dev (etc, ...
3
votes
2answers
5k 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 ...
7
votes
4answers
54k views

Add a hosts file entry without jailbreaking

I have an iPad that needs to be able to connect to a server via its short hostname, e.g. http://app instead of http://app.example.com. The network it connects to assigns it a domain name other than ...
1
vote
1answer
946 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 ...
2
votes
1answer
13k views

Multiple IP addresses for same host name in /private/etc/hosts?

I have a corporate mail account (exchange 2007) that uses a self-signed SSL certificate. No matter what I do, Mail always complains about this when I connect. If I look at the details it always says ...
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
217 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 ...