This is needed if you want to use subdomains in your web app. Or if you're an anal retentive type.
This is all from here > http://clintberry.com/2011/wildcard-sub-domains-on-osx-web-development-on-localhost/
sudo -srndc-confgen > /etc/rndc.confhead -n5 /etc/rndc.conf |tail -n4 > /etc/rndc.key- add this file > etc/named.conf
- add this file > var/named/dev.zone
launchctl load -w /System/Library/LaunchDaemons/org.isc.named.plistnamed -gthen exit (ctrl + c)named- add the file > etc/resolver/localhost.dev (name this as the url you want)
- test by navigating to the URL
- ???
- profit