Re: [apache2] virtual name-based hosting - defaults to wrong directory
I believe it is related to the "on address" directive. I did not know what the syntax meant in the default config file.
I found it easier to use webmin and select 'default', or 'any' for the "on address directive".
If I specified an ip or tried the <ServerName *> directive in the config file I would get overlap errors on apache restart. I would also have the wrong site load.
Nothing is ever easy, but if it is difficult you must be doing it wrong.