You are no doubt trying to add a vhost and you get the following error when attempting to affect changes by restarting the http daemon (httpd):
(EAI 2)Name or service not known: Could not resolve host name *.80 — ignoring!
Not to worry!
Add the following text to httpd.conf at the bottom (That’s at /etc/httpd/conf/httpd.conf):
CustomLog /logs/the_path.example.com-access_log common
Now just restart the http daemon:
Make sure you replace the your details into the above snippet.