База знань

What is a Document Root folder?  Роздрукувати цю статтю

 

The document root folder is the main folder which has all the files of your website. The root folder of your primary domain is public_html folder. The root folders of your subdomains and addon domains will be present inside public_html folder.

Note: Addondomains can be viewed just like the subdomains as primarydomain.com/addondomain. To avoid this, you can make the document root folder of addon domains outside the public_html folder like public_html_addondomain.com, etc.

Ця відповідь Вам допомогла?

Схожі статті

How to Password Protect Directories?
To password protect a directory in cPanel, follow the below steps. 1. Login to your cPanel.2....
Proxy access for cPanel, WHM and Webmail
  You can access your cpanel, WHM and webmail directly from your primary domain name. Follow...
After adding a new domain, it says Subdomain added, what to do?
There is nothing to worry about, cPanel calls your addon domain a subdomain because the root...
How to upload files to subdomains and Addon domains?
  Uploading files to subdomains and addon domains are similar to upload files to normal...
How to backup Home directory?
To do a home directory backup, follow the below steps. 1. Login to your cPanel.2. Click on...