1. Home
  2. Hosting
  3. cPanel
  4. cPanel: Updating Addon Domain Root directory

cPanel: Updating Addon Domain Root directory

This article provides you with information on how to update and Addon domain’s root directory.

In the realm of website management, cPanel is a popular and user-friendly control panel that simplifies various administrative tasks. One of the crucial operations often required is updating the root directory of an Addon domain. This article will guide you through the process of making this change and ensuring your website functions correctly. Addon domains are essential for hosting multiple websites under a single account, and updating their root directories is a common necessity.

 

 

Step 1– Login to cPanel

  • Please see our article on logging into cPanel here.

 

 

Step 2– Click on Addon Domains under Domains Section

 

 

Step 3– Click the Edit button next to addon domain.

 

 

 

Step 4– Update document root and click Change

 

 

  • This update does not automatically move the website files to the new directory. You would still nee to copy or move the website files to the new directory manually.

Frequently Asked Questions:

  • Why would I need to update the root directory of an Addon domain?

There are various reasons for updating the root directory of an Addon domain. For example, you might want to reorganise your website’s file structure, improve security by moving sensitive files to a different directory, or accommodate changes in your website’s content or architecture. Updating the root directory helps ensure your website functions as intended after these changes.

  • Are there any precautions I should take before updating the root directory?

Yes, before updating the root directory, it’s crucial to back up all your website files and data. This step is essential to prevent data loss or potential issues that may arise during the process. Additionally, if your website relies on any database connections, make sure to update the configuration files to point to the new root directory to avoid any connectivity problems.

Updated on November 14, 2023

Was this article helpful?

Related Articles