/etc/apache2/sites-enabled has 2 vhost files kmotion & testbed kmotion vhost 1 NameVirtualHost *:80 2 3 4 5 ServerName kmotion 6 ServerAdmin webmaster@localhost 7 DocumentRoot /home/dave/kmotion/www 8 9 10 Options FollowSymLinks MultiViews 11 AllowOverride None 12 Order allow,deny 13 allow from all 14 15 # secure login ... 16 AuthType Basic 17 AuthName "kmotion" 18 AuthUserFile /home/dave/kmotion/apache2_config/users_digest 19 #AuthAuthoritative on 20 Require valid-user 21 22 23 ErrorLog /var/log/apache2/error_kmotion.log 24 25 # Possible values include: debug, info, notice, warn, error, crit, 26 LogLevel warn 27 28 CustomLog /var/log/apache2/access_kmotion.log combined 29 30 Alias /camera_select/ /home/dave/kmotion/www/images/camera_select/ 31 Alias /view_select/ /home/dave/kmotion/www/images/view_select/ 32 Alias /misc/ /home/dave/kmotion/www/images/misc/ 33 Alias /function_select/ /home/dave/kmotion/www/images/function_select/ 34 Alias /images/ /home/dave/kmotion/images/ 35 36 and testbed NameVirtualHost *:80 ServerName testbed ServerAdmin webmaster@localhost DocumentRoot /home/dave/ Problem 1, why does apache say "[warn] NameVirtualHost *:80 has no VirtualHosts" - there are 2 of them ! Problem 2, what is "apr_sockaddr_info_get() failed for dev-machine" root@dev-machine:~# /etc/init.d/apache2 restart * Restarting web server apache2 apache2: apr_sockaddr_info_get() failed for dev-machine apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Mon Mar 24 08:03:07 2008] [warn] NameVirtualHost *:80 has no VirtualHosts apache2: apr_sockaddr_info_get() failed for dev-machine apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Mon Mar 24 08:03:18 2008] [warn] NameVirtualHost *:80 has no VirtualHosts [ OK ] root@dev-machine:~#