The Apache2 Debian Default Page is displayed when I navigate my browser to a domain name pointing to my web server even though I have disabled all the sites/VirtualHosts on my web server. What I expect to see is a "Cannot connect to the server" message.
In other words: Why is Apache displaying the default page when no VirtualHosts are enabled.
The browser is not loading the page from the cache.
I'm using Apache 2.4.33
Edit (when closed as duplicate):
This question is not a duplicate because their VirtualHost files are not disabled.
This answer does answer my question but the answer is to a broader question. I suggest it would be useful to have a similar answer here since my question is more direct and would help others who are wondering the same thing.
sudo systemctl stop apache2so is the default page supplied just for testing purposes? It seems strange that the default site points to/var/www/htmland disabling does not stop access to that folder. – David Johnson Apr 01 '18 at 04:57apache2.confis being used as stated in Jenny D's answer here. – David Johnson Apr 01 '18 at 08:25