Please note this change is not recommended, and can only be done on request by our support team

Change the ‘userdata’ file…

/var/cpanel/userdata/$USER/DOMAIN.co.uk
/var/cpanel/userdata/righthoo/DOMAIN.co.uk_SSL

The field to amend is ‘documentroot: /home/$USER/public_html’

Remove the cache files for the above…

/var/cpanel/userdata/$USER/DOMAIN.co.uk.cache
/var/cpanel/userdata/$USER/DOMAIN.co.uk_SSL.cache

Regenerate the config’s


/scripts/rebuildhttpdconf
/opt/nDeploy/scripts/generate_config.py $USER
Did this answer your question?