Subdomain customization/simplification

1 post / 0 new
#1 Tue, 05/02/2006 - 17:41

Subdomain customization/simplification

I run a domain that will require numerous subdomains, ie,,, etc.

Currently when adding a subdomain (or subserver using Virtualmin's terminology) the new domain is added to /home/user/domains/

I would like to simplify this so that any new domains I add are added to: /home/user/domains/subdomain/

But I cannot figure out how to do this. Is it possible to make it so that when I add a domain to I would only have to type in the highest level prefix (ie. "subdomain" instead of "") and then have the BIND and APACHE scripts automatically prepend "" to their directives? This would cause the directory to be created as /home/user/domains/subdomain/ like I would like.