instant-ROR package somehow fails to read the file. Aside from this
everything functions perfectly. All the apps work under 127.0.0.1,
thre’s just no way to set the dummy DNS record.
Pete, that sounds very strange. Instant Rails changes the actual
HOSTS file on a system, it does not have its own hosts file. When a web
client (like your browser) tries to access a domain, the Windows TCP/IP
stack will search the HOSTS file first (and subsequently a DNS server)
to see if the record exists and then redirect traffic accordingly.
Refer to this URL to see if it helps:
These are some of the things it mentions:
Important: To use the HOSTS file for name resolution, the Enable DNS
option must be selected. To do this, use the DNS Configuration tab in
TCP/IP properties in the Network option in Control Panel.
By the way, are you able to connect to localhost? I meant
http://localhost/ cos that’s an entry that is there in the local hosts