How to modify Document Root for a Subdomain in cPanel

How To Modify The Document Root

How To Modify The Document Root

To modify the document root for a subdomain, perform the following steps:

1 – Open cPanel (yourdomain/cpanel).
2 – Click on (Subdomains) from Domains section.
3 – Click the notepad icon that corresponds to the subdomain that you want to manage.
4 – Enter the new file path that you want to use as the document root in the available text text box.
5 – Click Change.