I dunno. I don't think anyone has ever asked to create a "catchall" subdomain alias, and I've certainly never set one up. ;-)
But, you're obviously not the only person to want to do this, since Apache has syntax for it. According to the Apache docs, you can include wildcards in a ServerAlias directive:
http://httpd.apache.org/docs/2.2/mod/core.html#serveraliasSo, add this to the domain.com VirtualHost section:
ServerAlias *.domain.com
And add a similar wildcard record to the BIND zone.
Neither of these things has a named option in the UI in Virtualmin, but if you wanted it to be standard practice for all of your virtual servers, you could just add the necessary line to the Server Template in the Apache and BIND sections. So, still pretty simple, even if it's not a "click a button" kind of thing.
Post edited by: Joe, at: 2008/06/29 23:43