On my web server I have a bunch of websites defined using VirtualHost
s. Currently if I request a website from my webserver that is not defined as a virtual host, I will get back the first virtual host in the list.
I would like to make it so that any requests that ask for a website not defined in a virtual host will just close the connection, both for HTTP and HTTPS. I imagine this will involve creating default
and default-ssl
virtual hosts but I am unsure what exactly to put in them.