To change the document root for a domain name you need to follow the steps below.
- Begin by logging on to cPanel.
- Then click the icon
Domains
underDomains
. - Find the domain name you want to change the document root of and click the
Manage
button to the right. - On the page you now land on, you will have the option to change the document root for the domain. Click the
Update
button when you are done with the changes.