Hello, I have a disabled site, and if I try to access that domain from browser I'm redirected to different webpage (why exactly this webpage I do not know). It is possible to show some custom error page for disabled sites? Thanks
It is the first in alphabetic order. More info in the Read before posting -article, the part about wrong website shown. I created website named 00aa.mydomain.tld, put there index.html that explains something like "Use httpS instead of http or vice versa, or website does not exist.".
Yes I got this for the ssl. Domain aaaa.website.tld. If I deactivete the site and try to access it via http, I'm redirected to our company website and it is really not the first in alphabet.
Please see the read before posting article. It describes the behavior that @Taleman mentioned. Both Apache and Nginx will show the first page site in alphabetic order that is on the same IP and port if they do not find a better match. So if a different site is shown, check which IP they use to find out why the web server considers it as a better match. And take care that your company website is not identical with the server hostname, as this would make it first match as well, that's why the system hostname must always be a subdomain like server1.yourcompany.tld and not yourcompany.tld.