I kept forgetting on how to do it.
This is a reminder for myself, and hopefully can be useful for readers.
See this Drupal article!
Resources:
- http://drupal.org/node/238805
- Mac OS X hosts file is located at: /etc/hosts
- Default Apache2 vhosts file on Mac OS X is located at: /private/etc/apache2/extra/httpd-vhosts.conf