Go to Customer Service

The root home directory is the folder that contains your website's data on a server. As a general rule, it is public_html.

To find the exact path to your root directory, go to WebsitesManage, search for FTP accounts on the sidebar and click on it:

Next, scroll down to the Create New FTP account section. The root folder path will appear there:

The Create New FTP account section showing the root folder path

The path will be in either one of the two following formats:

  • /home/u12345678/domains/domain.tld/public_html

  • /home/u12345678/public_html

How to Change the Home Directory

The home directory cannot be changed on our Web, WordPress and Cloud hosting packages due to control panel restrictions. Alternatively, you can host your files on a subdirectory and create a redirect on your .htaccess file as follows:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.tld$ [NC,OR
RewriteCond %{HTTP_HOST} ^www.domain.tld$
RewriteCond %{REQUEST_URI} !subdirectory/
RewriteRule (.*) /subdirectory/$1 [L]

Replace domain.tld with your domain name and subdirectory with the name of the folder where your website’s files are located.

In case you definitely need to change your home directory, you can consider hosting your project on a VPS Plan 😊

Additional resources:

Did this answer your question?