Apache2 VirtualHost problem

Discussion in 'General' started by asovanek, Jun 4, 2013.

  1. asovanek

    asovanek New Member

    The problem is next.

    I installed ispconfig 3, and it's superb. When i created first site, it all looked ok. But then it comes the problem when i created second site. If i try to access to the first site it opens the index file of second. How is that possible ? I checked apache and virtual hosts where all fine, except for some errors when i restarted apache:

    [email protected]:~# service apache2 restart
    [....] Restarting web server: apache2[Tue Jun 04 15:35:15 2013] [warn] NameVirtualHost 62.240.22.122:80 has no VirtualHosts
    [Tue Jun 04 15:35:15 2013] [warn] NameVirtualHost 62.240.22.122:443 has no VirtualHosts
    [Tue Jun 04 15:35:15 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Tue Jun 04 15:35:15 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
    ... waiting [Tue Jun 04 15:35:16 2013] [warn] NameVirtualHost 62.240.22.122:80 has no VirtualHosts
    [Tue Jun 04 15:35:16 2013] [warn] NameVirtualHost 62.240.22.122:443 has no VirtualHosts
    [Tue Jun 04 15:35:16 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Tue Jun 04 15:35:16 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
    . ok


    Some help will be usefull?

    Best regards,

    Andrej
     

Share This Page