I've done the following:
nano /var/cpanel/userdata/username/mysite.com
Changed documentroot from /home/username/public_html to /home/username/public_html/mysite.com/public
rm -vf /var/cpanel/userdata/username/mysite.com.cache
/scripts/updateuserdatacache
/scripts/rebuildhttpdconf
service httpd restart
It DOES NOT WORK. It breaks the website entirely. Why???
nano /var/cpanel/userdata/username/mysite.com
Changed documentroot from /home/username/public_html to /home/username/public_html/mysite.com/public
rm -vf /var/cpanel/userdata/username/mysite.com.cache
/scripts/updateuserdatacache
/scripts/rebuildhttpdconf
service httpd restart
It DOES NOT WORK. It breaks the website entirely. Why???