- Open Terminal
- run
sudo apachectl start
- run
localhost
in your browser and it should be good - If you need to make changes to index.html, then go to
/Library/WebServer/Documents/
and editindex.html.en
- If you need to further configure Apache server then
sudo vim /etc/apache2/httpd.conf
and thensudo apachectl restart
Created
February 15, 2017 18:32
-
-
Save shercoder/1b9acd357e44efb48cacb4bce3c61c8a to your computer and use it in GitHub Desktop.
Configure Local Web Server Mac
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/