Skip to main content

How to open the website’s root directory via SSH in Hostinger

Locating and reaching the root directory of your website using SSH

Updated today

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:

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.

Did this answer your question?