Hallo, I have a serious behavior with my ISPConfig 3: I konfigured some website-domains like domain1.de, domain2.de and domain3.de. I configured for all these "www-alias". Now when I for example go to testing.domain1.de I come to domain3.de (maybe because thats the last created domain on my ISPConfig). When I deactivate domain3.de, I come to domain2.de instead... What I want is an error mesage, when I go to a site which is not configured or activated. How can I do that? I thought this would be the default behavior?
See _default_ vhost in apache documentation for examples on how to create such a vhost for apache: http://httpd.apache.org/docs/2.0/vhosts/examples.html
I more like to have the error message 404 "not found" when I go to a seite on my server which not exist.
404 errors are for pages that are unavailable only and not for non existing websites. The apache webserver does not show you a 404 page if there is no vhost for a requested domain. But you can add a default vhost as explained in the apache manual and then add a html page in it with a text of your choice, e.g. that this website is not available.