Wrong Apache setting for Subdomain (vhost) without hostname
When creating a subdomain (vhost) without a hostname (i.e. example.com) the Apache vhost configuration looks like this:
ServerName .example.com ServerAlias www..example.com
Correct would be:
ServerName .example.com # no leading point '.' with server name ServerAlias www..example.com # no double point '..' after www