This can actually be solved with the following steps:
1) Edit the httpd.conf file with an editor.
2) Search for the line that starts with ServerName
3) Change that line to ServerName <I.P. Address of your computer> (I run it on localhost so it is: ServerName 127.0.0.1)
4) If this line does not exists then add it in the httpd.conf file.