In one of my servers (an slave) when a site is disabled it throws a cerfiticate error and the redirects to adnitt.eu (the first site in this server alphabetically). What could be the problem? In my other servers when a server is disabled it simply returns the nginx welcome page. Thanks!
Uuups, sorry not to read this carefully before. My configuration uses NGINX but I guess it has the same fallback default behaviour. Can this be overriden? I have made some searchs but cannot find anything, I guess because I am not choosing the adequate search terms. Also, I don't have disabled https on the site, but the whole site... Does ISPConfig just disable https? Thanks!
No, you can not override that, that's the way Nginx and Apache work. If they can not find a matching vhost, they use the first one they find on the same IP and port. What you can do, though, is to create a website with a domain name that's always first in the alphabet, like '000default.tld', and create a self-signed SSL cert for it. This domain name does not have to exist in DNS, it just must be the first site in alphabet on this server. This site will then catch all requests that have no better match.