[PLUG] Apache virtual hosts not working for ServerAlias names - Solved
Aaron Burt
aaron at bavariati.org
Sun May 5 20:57:46 UTC 2013
On Sun, May 05, 2013 at 12:52:46AM -0700, Michael Rasmussen wrote:
<snip>
> <VirtualHost *:80>
> ServerName www.example.net
> ServerAlias testy.example.net. morehost.example.net
> </VirtualHost>
>
> While a trailing dot is used in Bind configs to root a FQDN, this is
> breakage in Apache config. Worse, using `apache2 -S` or `apachectl -S`
> to syntax check your configuration yields a "Syntax OK" message.
>
> So removing the trailing dot on testy.example.net resolved the problem.
Subtle! Thank you for sharing that particular gotcha.
More information about the PLUG
mailing list