Skip to content
Atlas Hoster
Client area

Absolute path

Updated on 3 November 2026

In technical terms, the path is the route used to reach a file, or to go from one place to another in the file system. Under Windows, an example of a path is: C:\path\to\file.txt. When you access the hosting server, using SSH for example, you will notice that the syntax of the path is not the same. It looks like: /path/to/file.txt. This difference comes from the fact that you are accessing a Linux server, which uses a file system different from that of Windows. Often, when you use a script, you are asked to give the path to your script. The absolute path is the path starting from the directory highest in the hierarchy of the file system (also known as the 'root' under Linux) and going through all the subdirectories needed to reach the target file. The root is written "/" as in: /subdir1/subdir2/file.txt. When you are asked for the absolute path, it refers to the path starting from the root directory and ending in the directory of your script. For an application installed in the main directory of your website, the path is written as follows and applies to all users: /home/[user]/public_html where [user] must be changed to your username. Your path is also shown in your cPanel, on the left of the main page. As an example, suppose you hold the account example-domain.com with the username domaine1, and that you have installed a program called Joomla so that it appears at the address http://example-domain.com/joomla/. The absolute path of your installation will then be: /home/domaine1/public_html/joomla

Client areaAll guides

Absolute path · Atlas Hoster