How to Change the Document Root of Addon Domain and Subdomain Using cPanel?

The document root is a folder that each domain has and it’s unique for every domain. Even the subdomains and addon domains have their own distinctive document root folder.

Through cPanel, you can easily change the document root for addon and subdomains.

How to do that?

You can either get your Pakistani hosting company’s support team to do this for you or simply follow these easy steps below:

Step 1: Log in to Your cPanel Account

In order to change the document root, you would first have to log into your cPanel account that’s provided by your web hosting company in Pakistan.

Enter the required credentials and click on the ‘login’ button.

 

 

Step 2: Click on “Domains” in the Domains Section

Once you’ve logged into your cPanel account, scroll down to go to the Domains section and then click on “Domains”.

 

 

Step 3: Click on the “Manage” Button

Now, click the manage button in front of the domain for which you wish to change the document root.

 

 

Step 4: Enter the New Document Root

Once you’ve clicked on the “Manage” button, you’d see the option of “New Document Root”, under this option you can add the new document root folder.

 

 

Step 5: Click on the “Update” Button to Finish

Lastly, click on the “Update” button to save the changes that you’ve made, and you’re done!

If there are any questions or queries, get in touch with us through the live chat option available on our website. Or, simply visit us at one our offices for services related to web hosting in Lahore and web hosting in Karachi.

  • Cpanel, document root, cPanel, cpanel, addon domain, subdomain
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

..htaccess guidance

  .htaccess guidance .htaccess is a special Apache file that tells your website how to...

Linux Sites preview Offline

Linux Site's Preview Offline   http://IP_address/~UserName OR http://ServerName/~userName...

How to scan your website's data from CPanel?

Welcome the comprehensive step-by-step guide by our web hosting company on how to scan your...

How Can I Download a Backup of Full cPanel Account Using FTP?

If you want to download a backup of your website using FTP, please follow these easy steps below:...

How to create an addon domain?

An add-on domain is a fully functional domain and it can be created by using your Cpanel. Add-on...