What I was getting wrong it is NOT the ServerName inside your VirtualHost config that is causing this warning message it is the generic one near the top of your httpd.conf which is by default commentedout.

change:-

#ServerName www.example.com:80

to:-

  ServerName 127.0.0.1:80
Advertisements