База знань

Change Document Root for an Addon or Subdomain

Updating the document root folder for a domain name changes the actual location of a site's files. Your primary domain uses the public_html folder by default.

By default, addon domains and subdomains use folders beneath the public_html folder - thus, the root directory for an addon domain named somedomain.com would by default be public_html/somedomain.com.

Note: WalexBiz Host always recommends creating a full backup before making any major changes to your site.

To change the document root folder:

1. Log in to cPanel.

2. In the Domains section, click the Addon Domains or Subdomains icon, depending on which you'd like to modify.

3. Locate the addon domain (or subdomain) you wish to modify.

4. Click the pencil icon next to the current document root for the domain you wish to modify

5. In the pop-up window, enter the new document root and click Change.

 

 
  • Domain
  • 0 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?