Hi there,
We've occasionally had some of our hosted clients run into undesirable effects (cascading .htaccess rules, php.ini configurations, etc.) because their subdomains get created within their /public_html directory.
I'm wanting to change the default to a directory below /public_html to avoid the aforementioned issues.
In other words, when someone goes to create a subdomain within cPanel, the default directory will be something like /subdomains - So instead of the subdomain's root going into /public_html/whatever, it'd go into /subdomains/whatever.
I do have the "Subdomains outside public_html" option enabled in WHM, and realize that one can manually just enter a different directory when creating a subdomain, but it would be nice if I could set the default.
Is there a configuration file somewhere on the server which I can edit to change this?
We've occasionally had some of our hosted clients run into undesirable effects (cascading .htaccess rules, php.ini configurations, etc.) because their subdomains get created within their /public_html directory.
I'm wanting to change the default to a directory below /public_html to avoid the aforementioned issues.
In other words, when someone goes to create a subdomain within cPanel, the default directory will be something like /subdomains - So instead of the subdomain's root going into /public_html/whatever, it'd go into /subdomains/whatever.
I do have the "Subdomains outside public_html" option enabled in WHM, and realize that one can manually just enter a different directory when creating a subdomain, but it would be nice if I could set the default.
Is there a configuration file somewhere on the server which I can edit to change this?