You can customize subdomains by using subdomain hooks. Subdomain hooks enable you to perform additional actions when a subdomain is added or deleted. For example, you can use subdomain hooks to notify the Site Administrator whenever a subdomain is added for any site. The subdomain scripts are not domain specific and apply to all subdomains of all corresponding root domains on Parallels Pro Control Panel.
In order to do this, you must write the script hook and place it in the /etc/appliance/customization/
directory, set executable permissions for the script, and place the commands to be executed in the script file.