Ein Tool oder Programm dazu gibt es meines Wissens nach nicht. Du musst dich auf die Unix-Ebene von OS X begeben und die Datei httpd.conf mit einem Editor öffnen. Wichtig: Du musst als root bzw. SuperUser eingelogt sein. Das geht meiner Erfahrung nach nur mit einer Console.
httpd.conf ist irgendwo im System/Webserver.. Ordner (so genau weiss ich das gerade leider nicht, weil ich an einem Linux-System sitze).
Da auf jeden Fall httpd.conf mit folgendem Befehl öffnen:
sudo pico httpd.conf
Nach Eingabe deines Passwort hast du die Konfigurationsdatei deines integrierten apache-Webservers vor die. Da gibt es dann irgenwo folgenden Abschnitt:
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at <URL:
http://www.apache.org/docs/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
#NameVirtualHost *
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
# ServerAdmin
webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
#<VirtualHost _default_:*>
#</VirtualHost>
Da den entsprechenden (lokalen) Domainnamen eingeben.
Nach dem Neustart des Webservers mit
sudo apachectl graceful
sollte es dann funzen.
Gruß, Chris