Den här artikeln finns även på Svenska
To change the document root for a domain name you need to follow the steps below.
- Login to your cPanel accocunt.
- When you have logged in to cPanel you need to click on the icon called
Addon Domains
. If you want to change the document root for a subdomain you instead need to click onSubdomains
. - Find the domain name you want to change the document root for and then click on the little icon that looks like a pen to the right of the current document root.
- In the window that opens you need to enter the new document root. Click on
Change
when you are done.