English

How to Open the Website’s Root Directory via SSH in Hostinger

Locating and reaching the root directory of your website using SSH

Updated 4 years ago

The root directory where your website’s files are located. By default, the root folder of your website is public_html.

To reach the root directory of your website using SSH, follow these steps:

  1. Check the home root path and copy it

  2. Connect to your account using SSH

Once there, run the following command:

cd /home/u123456789/domains/domain.tld/public_html

Replacing /home/u123456789/domains/domain.tld/public_html with the value of the root folder path which you copied.

That’s it! You can start working with your website files.