When Drupal is installed on a computer, the directory that contains Drupal's core code files is referred to as its docroot, or document root. Not only does it contain Drupal's core code files, but it also includes all of your websites' files and directories.
The docroot can have any name. Depending on your hosting environment, it could be named
www, or even
docroot. To identify the docroot on a computer, look for Drupal's
When you encounter docroot in a documented directory path, substitute docroot with the actual docroot path for your environment. If there is an extended path, such as
/sites/all to the actual path of docroot.