Changing domains around on your web server can leave you with a local DNS cache that doesn’t match your domain’s new settings. Flush your DNS cache on Mac OS X 10.5 by issuing the following command:
dscacheutil -flushcache
Edit 5/19/2014: OS X Mavericks has a slightly different method for clearing the DNS cache.
Sharing makes us all smarter. Please link back to my site and give me credit, please! Peace.