assuming your comfortable with vi:
OSX 10.2
open terminal.app
sudo vi /etc/hosts
put something like:
192.168.1.200 yourdomain.com
I couldnt make it work with IP's, probably because they dont need to resolve hehe.
But this lets me access mydomain.com from inside my NAT network.