there might be times when you want to restructure the default public_html directory structure. The document root might reside somewhere deep in for security reasons.
go to /var/cpanel/userdata/USERNAME/DOMAIN.COM
edit the documentroot line
then
/scripts/rebuildhttpdconf
service httpd restart
Author: bpeh
Bernard Peh is a great passioner of web technologies and one of the co-founder of Sitecritic.net Website Design and Reviews. He works with experienced web designers and developers everyday, developing and designing commercial websites. He specialises mainly in SEO and PHP programming.
View all posts by bpeh