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):
Code language: CSS (css)
NameVirtualHost 220.127.116.11:80 ServerAdmin firstname.lastname@example.org DocumentRoot /var/www/html/the_path/ ServerName the_path.example.com ErrorLog /logs/the_path.example.com-error_log 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.