

This will give you an indication of what might be wrong. If you don’t get the localhost test, you can try troubleshooting Apache to see if there is anything wrong in its config file by running apachectl configtest The Apache version that comes in macOS Sierra is Apache/2.4.23Īfter starting Apache – test to see if the webserver is working in the browser – – you should see the “It Works!” text. To start Apache web sharing sudo apachectl start


Using the prefix of sudo is required for commands that have their applications protected in certain folders – when using sudo you will need to confirm with your admin password or iCloud password if set up that way…. This needs to be done in the Terminal which is found at /Applications/Utilities/Terminalįor those not familiar with the Terminal, it really isn’t as intimidating as you may think, once launched you are faced with a command prompt waiting for your commands – just type/paste in a command and hit enter, some commands give you no response – it just means the command is done, other commands give you feedback. Web serving is possible via the inbuilt Apache app, it is installed ready to be fired up.
