Set up new virtual host on a Jessie: https://www.linode.com/docs/websites/apache/apache-web-server-debian-8
# add virtual host by creating /etc/apache2/sites-available/[example.com].conf (for Jessie)
# OR by adding to /etc/apache2/extra/httpd-vhosts.conf (Mac)
<VirtualHost *:80>
ServerAdmin [user]@[host]
DocumentRoot "[/var/www/html/path/to/root]"
ServerName [servername]
ServerAlias www.[servername]
ErrorLog "[/path/to/error-logfile]"
CustomLog "[/path/to/access-logfile]" [common|combined]
# log format (see http://httpd.apache.org/docs/2.2/logs.html)
<Directory "[/var/www/html/path/to/root]">
...
</Directory>
</VirtualHost>
# add new url to /etc/hosts
127.0.0.1 [servername]
# restart apache
sudo apachectl restart