How to Change the Document Root for a Subdomain

In this article, we will show you how to change the document root for a subdomain.

1. Login to cPanel

2. Click the Subdomains link found in the Domains section of cPanel.
cpanel_subdomain_add_1

3. Click the Edit icon (it looks like a pencil) next to the document root of the subdomain you wish to modify.
cpanel_subdomain_newroot_2

4. Enter the new document root you wish to use.
cpanel_subdomain_newroot_3

5. Click the Change button.
cpanel_subdomain_newroot_4

That’s it!