Search code examples
apachelocalhostlocalserver

Apache set up mac os yosemite


I am trying to get Apache to run on my yosemite machine, but when i try to access localhost i get https://i.sstatic.net/ZzZzB.png.

I ran an apache configtest and got the following

Angus-Mac:mysql root# apachectl configtest AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using Angus-Mac.local. Set the 'ServerName' directive globally to suppress this message Syntax OK

What am i getting wrong? any ideas?


Solution

  • Uncommenting the ServerName and changing it to the domain name solved the issue.