Hi, I can handle requests on web server when IP is entered as URL in browser by adding 0000-default.com web site. But this does not work in case, when for any existing web sites the https:// is added, when this site has no SSL enabled. In such case the alphabetically first SSL-enabled site is displayed instead. Which is very wrong...or at least very inappropriate. Any idea how to direct those https:// requests fro all non-ssl enabled sites to some default page?
Add a new website which is first in alphabet, the domain does not has to exist. use e.g. 000default.tld as domain name. This site will receive all these default requests then.
Hi Till, thank you for pointing into right direction. As you say, I already have 0000-default.com configured on all ISPConfig instances, but the problem was HTTPS default page. What I did to solve was now simply configure self-signed SSL for 0000-default.com web site, which now shows properly MY landing page for all non-enabled SSL sites, instead of first customer's SSL web site. thanx!
EDIT: Actually, this method worked on my new nginx + PHP-FPM 7 server, while on my old Apache 2 + PHP 5 it does not work.