OS X Server website not loading
Here's how I'd troubleshoot things using terminal. You can use the console app as well to look at logs, but the serveradmin commands are more detailed than the server app allows currently and historically.


curl localhost - this tests that port 80 is listening and a web server is running.
sudo serveradmin status web - this tests the service named web - n.b. you could have the curl command work and have apache running on port 80 but have your web status STOPPED as several other "services" start up apache such as Xcode, Profile Manager, etc...
Depending if the status was stopped, issue a start sudo serveradmin start web or issue an orderly shutdown and restart sudo serveradmin stop web &amp;&amp; sleep 15 &amp;&amp; sudo serveradmin start web


If you are not getting anything that makes sense from curl - perhaps look over the web logs:

tail /var/log/apache2/access_log
tail -20 /var/log/apache2/error_log


Once you've narrowed down if the problem is running apache and basic networking/DNS to get localhost to work or if there are problems with the code/content you can take next steps.

Also, looking over the tutorial/lesson - it looks like the selection was on HTTPS and not HTTP, so go back and ensure you are using https://myserver.local and https://localhost or http:// throughout and the server app is configuring the port (80 for http and 443 for https). For simplicity, I've just used port 80 for this answer and my server setup.