
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
Changes Contained within a VirtualHost Directive | ||||||||
| Line: 122 to 122 | ||||||||
Custom Templates for New Accounts | ||||||||
| Changed: | ||||||||
| < < | When a new account, subdomain, or addon domain is created, the templates located in /var/cpanel/templates/ are not used. However, you are still able to define a template for these events. To do so, you will need to edit the files located at: | |||||||
| > > | When a new account, subdomain, or addon domain is created, the templates located in /var/cpanel/templates/ are not used. Instead, the system uses the following files: | |||||||
| ||||||||
| Line: 131 to 131 | ||||||||
| ||||||||
| Changed: | ||||||||
| < < | .local file) within these directories. To create a custom template, you may rewrite the contents of a file, using the same filename. However, each of these files will be overwritten any time you update cPanel (run /scripts/upcp). To maintain custom templates for new accounts, you will need to create a postupcp script. This script will automatically run after every cPanel update, replacing the contents of the file with your custom template. For more information on creating a postupcp script, you can visit our documentation here. | |||||||
| > > | /scripts/upcp).
To maintain custom templates for new accounts:
| |||||||
Custom Templates for Subdomains and Addon Domains | ||||||||