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

To open the root category using SSH, all you need to do is:

  1. Copy the home root path from hPanel Dashboard

  2. Connect to your account using SSH

  3. Run the following command

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

Where "/home/u123456789/domains/domain.tld/public_html" is the value of "Home root" which you copied from hPanel.

That's it - after -bash-4.2$ appeared from the new line, you can start working with your files.

NOTE:

Did this answer your question?