Find and Change the Root Folder of a Subdomain or Addon Domain in cPanel/Plesk

  Print

How to find and change the root folder of a subdomain or addon domain

Please do not do this unless you are comfortable making these sorts of changes. This change should only be made by an experienced web developer as, if incorrectly used, it can easily break your site and make it inaccessible.

In cPanel

Subdomains
Step 1 - Log into cPanel and click on the Subdomains icon.

c80b6728d796403859eabe3e28b643205b0be592?t=cbd9a50f2670ce3a44fa3ea11a34586a



Step 2 - Click on the manage icon at the right edge of the page.


4951bb7f3a1eb8aadd56472e3e2d2ac061c4228f1064bc8c6a4c9aa8b2f7bc9016bbcdfeb205a0db?t=e2717b504b60da29f850b219bbe253dd



Step 3 - You will be taken to a new page. Edit the New Document Root field and hit the Update button.

rootfolderpic06.png



Addon Domains
Step 1 - Log into cPanel and click on the Domains icon.

c80b6728d796403859eabe3e28b643205b0be592?t=cbd9a50f2670ce3a44fa3ea11a34586a



Step 2 - Click on the manage icon at the right edge of the page.

4951bb7f3a1eb8aadd56472e3e2d2ac061c4228f1064bc8c6a4c9aa8b2f7bc9016bbcdfeb205a0db?t=e2717b504b60da29f850b219bbe253dd



Step 3 - You will be taken to a new page. Edit the New Document Root field and hit the Update button.

rootfolderpic06.png


In Plesk
Step 1 - Log into Plesk and locate the root folder for an addon or subdomain by clicking on the Hosting Settings option within the Plesk card for the domain.

5ea29775b08b98cecfc9fa546daaab5b498bc1d6?t=e5873709c55c0df805090cae2b673bc1



Step 2 - In this example, the document root is located under the home directory in the folder named 'yourdomain.net.au'.
Change the document root by editing the folder name and clicking on Apply.

0e3acb65f2602160f5f3571605c74a57e571d021?t=768a87acec0bf2591328757b90e65ec7




Did you find this article useful?  

Related Articles

© Crucial