Can anyone please let me know how can I change the default subdomain directory in cPanel?

I want to change the default subdomain directory in cPanel

cPanel cPanel Hosting Web Hosting
Answer Share

1 Answers

Anonymous answered 10 hours ago
Anonymous answered 10 hours ago

Yes, you can change the default subdomain directory in cPanel. Here are the steps to do so:

Step 1: Login into your Cpanel account.

Step 2: Navigate to the Domains section and click on Subdomains.

Step 3: In the Create a Subdomain section, locate the subdomain for which you want to change the directory and click on the Manage button next to it.

Step 4: Scroll down to the Document Root section, which displays the current directory path for the subdomain.

Step 5: Update the directory path to the desired location. You can either type in the full directory path or use the browse option to select the folder from the file manager.

Step 6: Click on the Save button to save the changes.

It is important to note that changing the default subdomain directory may affect any existing content or applications relying on the previous directory. Ensure that you backup any important files or make necessary adjustments to ensure the proper functioning of your website or application.

Your Answer

Hosting Companies insights

3009 Web Hosting Reviews A trusted source of genuine reviews. Learn Reviews
2474 Web Hosting Companies Ever-growing pool of web hosting providers. Browse Providers
2872 Web Hosting Coupons Exciting web hosting deals available here Browse Coupons