I would like to deny access to the default server on apache. Only want to allow the virtual servers. Example: I want to disable access to a request with a sub domain like server1.mydomain.com (because server1.mydomain.com is not a web server but a simplya name of a machine). But by default apache will interpret that sub domain as adefault server and serve pages from /var/www directory. How can I disable that?
Thanks in advance.