[warn] NameVirtualHost has no VirtualHosts

Discussion in 'General' started by todx, Aug 27, 2013.

  1. todx

    todx Member

    Is there anything wrong? Assuming from [warn] it shouldn't be dangerous. ^^

    Also how do I get rid of these warnings?

    Code:
    root@*********:/etc/apache2/sites-enabled# /etc/init.d/apache2 restart
    [....] Restarting web server: apache2
    [Tue Aug 27 12:28:25 2013] [warn] NameVirtualHost 87.118.85.122:80 has no VirtualHosts
    [Tue Aug 27 12:28:25 2013] [warn] NameVirtualHost 87.118.85.122:443 has no VirtualHosts
    [Tue Aug 27 12:28:25 2013] [warn] NameVirtualHost 87.118.84.122:80 has no VirtualHosts
    [Tue Aug 27 12:28:25 2013] [warn] NameVirtualHost 87.118.84.122:443 has no VirtualHosts
    [Tue Aug 27 12:28:25 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Tue Aug 27 12:28:25 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
     ... waiting [Tue Aug 27 12:28:26 2013] [warn] NameVirtualHost 87.118.85.122:80 has no VirtualHosts
    [Tue Aug 27 12:28:26 2013] [warn] NameVirtualHost 87.118.85.122:443 has no VirtualHosts
    [Tue Aug 27 12:28:26 2013] [warn] NameVirtualHost 87.118.84.122:80 has no VirtualHosts
    [Tue Aug 27 12:28:26 2013] [warn] NameVirtualHost 87.118.84.122:443 has no VirtualHosts
    [Tue Aug 27 12:28:26 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Tue Aug 27 12:28:26 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
    . ok
    root@*********:/etc/apache2/sites-enabled#
    
    
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    These warnings always occur if you have an ip address with no vhost assigned but the NameVirtualHost set.

    You can either add more vhosts to this ip or you can disable the NameVirtualHost for that IP if you definitly do not need multiple webs on it.

    But the warnings are totally normal and there's no need to get rid of them. And if you do, be sure you know what you are doing, as there might be something not working after that.
     
    Last edited: Aug 27, 2013

Share This Page