I recently installed ISP config on a VPS to migrate my sites. I used the Cpanel and would like to test the ISPCONFIG3. The problem is that all sites on the ISP always show the last site created in all addresses. Example: site 1: appropriaganda.com.br >> client0 >> web1 >> Site 2 atuair.com.br >> client0 >> web1 (in the latter case it should be web2 but this does not happen) Could someone there help me?
Either you mixed up IP and `* in the websites, use either the IP or * for all sites, or the domains do not point to the correct IP address in dns, or the sites were not created at all (check if vhost files got created without .err ending in /etc/apache2/sites-available on Debian and Ubuntu or the corresponding folder in /etc/httpd/.... on CentOS).
Why this occur? I mean... Why I can't mix IP and "*"? I had the same issue and it was solved changing to IP. Thanks!
An IP address is always a stronger match than a wildcard in apache and nginx. so when you mix IP and *, then nginx and apache will both forward all traffic to the website that owns the IP. The domain name is ignored in that case.