I added the following text to httpd.conf at the bottom:
<VirtualHost 12.34.56.78.80>
ServerAdmin foo@bar.com
DocumentRoot /var/www/html/some_dir/
ServerName foo-bar.example.com
ErrorLog /logs/foo-bar.example.com-error_log
CustomLog /logs/foo-bar.example.com-access_log common
</VirtualHost>
..and then when attemping to run the following command:
/etc/init.d/httpd restart
I get the following error:
[error] (EAI 2)Name or service not known: Could not resolve host name 12.34.56.78.80 -- ignoring!
Note that names and the ip address have been changed for this post.