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
DomainsunderDomains.
- Find the domain name you want to change the document root of and click the
Managebutton 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
Updatebutton when you are done with the changes.