Web developers confront a bunch of little problems in their day-to-day life, so it’s always nice when utilities can help simplify those problems. Take Scott Wheeler’s free
, which simplifies the problem of editing your computer’s hosts file to point certain domain names towards your own computer.
The hosts file is kind of a local override for the Domain Name System; it allows you to force a specific domain name (say www.example.com) to go to another site. In the case of Localghost, it serves one particular function: defining domain names that point back to your own computer, using its loopback address (that’s the IP address 127.0.0.1, also known as localhost—hence the program’s name).
You can’t, however, instruct domain names to point to anything other than the localhost and neither can you point certain domains to certain ports on your computer, though the developer plans to add the latter feature in a future update. In either case, while Localghost is not necessarily a one-stop hosts file editor, it ought to simplify matters for many web developers.
Want to stay up-to-date with the latest Gems? Sign up for the Mac Gems newsletter for a weekly e-mail summary of Gems reviews sent directly to your inbox. You can also follow MacGems on Twitter.
Our 186-page Mac Gems Superguide is a veritable greatest hits of Mac Gems. It’s available as a PDF download, PDF on CD-ROM, or as a printed book. Learn more about the Mac Gems Superguide.
[Dan Moren is a Macworld senior assoicate editor.]