OS: Ubuntu 19.10
I'm playing around with Apache so I can learn how to configure it, so I installed it via apt-get and took a look at the config directories.
I also am vaguely aware that with Apache on macOS all the default addresses end with a .local TLD, so I tried navigating to my box in a web browser using its hostname and the .local TLD, i.e. http://mybox.local/. And it worked, I see the apache default page.
But looking at the apache config files and virtual host config, nowhere is this server name defined. So I looked up as best I could how this extension is configured, and I found this page saying the avahi-daemon is responsible and how to work the config.
I changed the server settings to a different TLD, eg '.blarg' and I restarted the avahi service - which doesn't work, even with an Apache service reload, yet somehow the .local TLD still works, even after a reboot.
This leads me to believe either I'm restarting the wrong service, or avahi isn't responsible for the .local extension. Anyone care to point me in the right direction?