База знаний

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.

Помог ли вам данный ответ?

Связанные статьи

What is Hot Linking?
  Hot linking is a method to prevent other websites from directly linking to your files and...
How to Password Protect Directories?
To password protect a directory in cPanel, follow the below steps. 1. Login to your cPanel.2....
How to create a URL redirect in cPanel?
  To create a URL redirect in cPanel, follow the below steps. Login to you cPanel....
How do I find my PHP version?
Login to cPanel. In the "Stats" section on the right, located the row labeled "PHP version"....
I Opened .htaccess file and my site is showing errors, what to do?
Sometimes when you open .htaccess file within cPanel, it may cause link breaks automatically...