Web Server Setup on Mac

1) First run sudo apachectl -S to find the main document root.

2) sudo pico /etc/apache2/httpd.conf

Make sure Include /private/etc/apache2/extra/httpd-vhosts.conf is uncommented and then add

Include /private/etc/apache2/vhosts/*.conf

3) sudo apachectl restart

3) If you are configured, good, otherwise follow this: Apache Configuration on Mac

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.