IspConfig3 Nginx Debian7 can be a bug?

Discussion in 'General' started by adrenalinic, Jan 11, 2014.

  1. adrenalinic

    adrenalinic Member

    TOday I have verified that if I select for one website the specific ip address of the vps and for another website I select the symbol option of all address *
    all websites are dysplaing the default web page!

    After changing the specified ip address to the * all works correctly.


    Whats happen?
    Best regards.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats the normal behaviour off all webservers, you can see this in nginx and apache, and its the intended behaviour and not a bug. A wildcard * is always the lowest match, a IP address is a stronger match. So when you have a vhost that uses * and one that uses an IP address while both domains point to the same IP, then all traffic gets routed to the site were you have set the ip address. For that reason, you shall never mix * and ip addresses in websites of your server that point to the same IP.
     

Share This Page