Does anyone know how to change the location / path of a cpanel account using PHP?
Basically, it will have a multi-brand store with SSL certificates, and we want this to point to a single location / directory in the root directory.
I was able to achieve this with a little tweak in the httpd.conf file, but we want to automate this and have a php plugin.
Any idea?
Note. We have dedicated servers, and this is possible + verified.
Maybe using cPanel API or something else?
source share