OS X Port Forwarding for Development on a Vagrant Guest
Temporarily repoint mydomain.com to localhost during development. This means you can develop mydomain.com, and when deploying to production you can be confident there are no ‘localhost’ references in your source. There are three elements to this: Edit your hosts file: sudo vi /etc/hosts Add the line: 192.168.50.1 mydomain.com (the IP address is the IP of […]