I have a three VirtualHosts. The second two utilize wildcards.
www.example.com
*.sites.example.com
(i.e. foo.sites.example.com)*.*.sites.example.com
(i.e. foo.bar.sites.example.com)
For the second two, I tried:
ServerName example.com
ServerAlias *.example.com
and
ServerName example.com
ServerAlias *.*.example.com
Problem is *.example.com
gobbles up *.*.example.com
. As maybe a hack, I put *.*.example.com
before *.example.com
in my httpd.conf file.
Is what I did the proper way to do this, or is there a more official way?