[Mac] Localhost at port 80 says It Works!

Localhost says it works

If you try to access http://localhost/index.html at default port 80 and it says it works! and you are wondering what service is running this index.html page then you are at the right place,

This is a page that you can locate at location /Library/Webserver/Documents/index.html.en which is associated with Apache HTTP Server.

% cat /Library/WebServer/Documents/index.html.en
<html><body><h1>It works!</h1></body></html> 

You can stop Apache Server by running the command sudo apachectl stop


Have Questions? Post them here!

Top Hashtags: