Root Directory

The root directory, or root folder, is the top-level directory of a file system. The directory structure can be visually represented as an upside-down tree, so the term "root" represents the top level. All other directories within a volume are "branches" or subdirectories of the root directory.

While all file systems have a root directory, it may be labeled differently depending on the operating system. For example, in Windows, the default root directory is C:\. On Unix systems and in OS X, the root directory is typically labeled simply / (a single forward slash). As you move up directories within a file system, you will eventually reach the root directory.

Website Root Directory

The root directory of a website is not the top-level directory of the volume, but rather the top-level directory of the website folder. On an Apache server, for example, the name of the root directory is public_html and is located within primary user folder for the website. Therefore, the root folder of a website can be accessed using a single forward slash. For example, a link to a file called home.html within the root directory of a website can be accessed using the reference "/home.html."

Updated August 5, 2015 by Per C.

quizTest Your Knowledge

Which of the following is a rational number?

A
π
0%
B
√2
0%
C
√5
0%
D
7/8
0%
Correct! Incorrect!     View the Rational Number definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Root Directory on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.