It used to be pretty simple for me to set up a VirtualHost to test a new php webapp, for this http.conf:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /opt/webgrind/www
ServerName webgrind
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /opt/opencart/www
ServerName opencart
</VirtualHost>
I just needed to restart the service and access: http://webgrind/
or http://opencart/
(without changing anything in /etc/hosts
)
But something changed in the server (CentOS 6) and now the error.log
states:
[error] avahi_entry_group_add_service_strlst("opencart") failed: Invalid host name
[error] avahi_entry_group_add_service_strlst("webgrind") failed: Invalid host name
And when accessing http://webgrind/
I get a page ofline error. Any ideas?
Server version: Apache/2.2.15 (Unix) Server built: Dec 8 2011 18:10:49