Apache is installed and enabled in OSX by default. To confirm and check your version instance, see this.
To start it, run this command in terminal:
sudo apachectl start
Then open up http://localhost on your browser and you should see this:
![](https://www.anintegratedworld.com/wp-content/uploads/2020/07/image-2.png)
You can also check the threads in Activity Monitor.
![](https://www.anintegratedworld.com/wp-content/uploads/2020/07/image-3-1024x654.png)
To find out where this page is being served from, find the file httpd.conf. This file resides in /etc/apache2/
cat /etc/apache2/httpd.conf
Then search for “DocumentRoot”. It should say /Library/WebServer/Documents at line 246. This is where the index.html file is being served from.
![](https://www.anintegratedworld.com/wp-content/uploads/2020/07/image-4.png)