Where is default virtual host config file

When we create a new account, how do we set which virutal host template that account is copied from, or where is the virtual host template file.

Because I want to make some fixed settings on my server. These are generally open lite speed, for example, I want to assign .net files to .php files in all accounts I open.

For this, I have to throw it out from ols web admin after every account opening.

Location of configuration files - 08 - Server - Docs - CyberPanel Community
Please check this for config files location

I know the location of the vhost files.
My question is the actual template used when creating these vhost files.

1 Like

I’d also like to know if there is a template file that can be modified so that I can have different default values for any site’s vhost file

Hi, i found default template in /usr/local/CyberCP/plogical/vhostConfs.py.
But i don’t tried update CyberPanel after modify

1 Like