Server Template
A server template defines default settings for new domains, or for features added to existing domains. Almost all of the text fields and boxes below allow you to use variables which will be substituted based on the virtual server's setting at the time the template is used. Some of the more useful variables are :

${DOM} The domain name, such as foo.com
${PREFIX} The first part of the domain name, like foo
${USER} The user that owns the domain, such as foo
${IP} The IP address assigned to the virtual server, such as 192.168.1.1
${HOME} The domain user's home directory, such as /home/foo
${UID} The system user ID of the domain owner user, such as 502.
In addition, conditional blocks like $IF-MAIL...$ENDIF-MAIL and $IF-WEB...$ELSE-WEB...{$ENDIF-WEB} may be used.