Skip to main content
Home Forums what's the Mac equivalent of the "hosts" file in Windows? — #1 what's the Mac equivalent of the "hosts" file in Windows? — #1
Post
Hi All,

I've received some advice from some well meaning gurus in another forum that will solve a problem of mine, but it requires me to edit my "hosts" file, in Windows. They don't know I'm running Macs (and I'd prefer to keep it that way).

The problem: I'm running a LAN behind a firewall, have just registered a domain name pointing at the router (which forwards http requests to the webserver which is also behind the firewall on the LAN) and want to be able to enter my domain name in my web browsers/email clients/etc instead of having to enter the internal LAN IP address (which I have to do now).

Problem: this isn't working (firewall probs), and my guru friends have pointed out that I can remap requests to this domain name by adding a line to my "hosts" file that will point to the internal server on the LAN.

So, what's the equivalent of the "hosts" file on the Mac? (one machine is running OSX 10.15, the other OS9.2.2). Help?

Chas
mp.ls