Gas Mask 0.4: Finally! a Host File Switching Tool for the Mac
Gas Mask 0.4 is a simple hosts file manager for Mac OS X Leopard. It enables to edit hosts files and switch between them.
Yeay!
The bizarre quirks, tricks, and obstacles I've come across when trying to write cross browser compliant HTML and CSS. Maybe even some solutions.
Gas Mask 0.4 is a simple hosts file manager for Mac OS X Leopard. It enables to edit hosts files and switch between them.
Yeay!
All my work is done on a Windows box using MS Visial Studio 2008. It is easy enough to adjust the hosts files on a Windows box to see your work (C:\WINDOWS\system32\drivers\etc\hosts). So I can set up dev1.martinator.com in IIS and edit this hosts file so that dev1.martinator.com will point to the IP address on my machine (where my local web server resides).
Easy-Peasy as my daughter would say.
However, if I wanted to test my local build on a MAC, it is a another story. Apple makes things on a MAC easy, but only the things they want to make easy for you. The MAC I use at work is running OSX 10.5 (Leopard I believe). It took me about a half a day or so to find a clue on the Internet as to how to change the hosts file for a MAC running OSX 10.5. I finally found out how in a message on an obscure message board that I probably couldn't find again. Here it is:
sudo vi /etc/hosts
101.505.39.99 dev1.martinator.com
For older MAC's, look here: Mac OS X: How to Add Hosts to Local Hosts File