
These programmes resolve an URL to your machine. Since OSX server is going to loose DNS functionality you should take a look at dnsmasq (simple) or better BIND (full functionality). You will have to add it to your host file /etc/hosts, use a DNS server, which I would prefer. The ServerName for the web app has to be chosen by you.

depending on how you would like to manage permissions either keep _www and apply corresponding permissione to your web app folder or better set in the config file user YourName + Group staff.change the tag reference below and set AllowOverride All.

set DocumentRoot /usr/local/var/www to your document root.Depending from how you installed apache you will have to configure: In any case the connection between the application directory (in this case your phpmyadmin, which is just a web app) and your web server is made in a configuration file such as nf for apache. Usually all application directories reside in the document root. You will have to configure apache and DNS for each project. A web server such as Apache serves them to the web or your browser. Web applications are placed in a particular folder on your machine. Remember to restart Apache after you change settings. You should also edit permissions for user and group inside nf or set permissions on the DocumentRoot accordingly. If I am not mistaken they should still reside inside your DocumentRoot. VirtualHost or DNSmasq only make certain folders accessible via a specific address.

Change either the path for your DocumentRoot inside your nf or move the phpmyadmin folder inside the folder you have already configured. ‘localhost/phpmyadmin’ stands for phpmyadmin inside localhost DocumentRoot. Phpmyadmin should be inside your DocumentRoot.
