Overview
While working on your websites, you may encounter the need to access what is referred to as the root directory, root folder, document root, or some other variant. The following article contains instructions on how you can view/access this folder.
Instructions
By default, Shared Hosting will make a website’s root directory be …/public_html
1. To access /public_html you can simply log into the cPanel account for the domain and locate the File Manager.
Note:
For cPanel, a root directory may be altered through advanced methods, such as SSH. If you believe your website's document root is no the default .../public_html, you may want to contact your website's developer for assistance in determining the root directory.
Instructions
For the Grid, a website's root directory is the …/html folder. This is located in the file path /domains/example.com/html. The root directory can be viewed/accessed through File Manager, FTP, or SSH.
Method 1 - Accessing the root directory through the File Manger.
1. To start, you will click on the blue ADMIN button next to your Grid server.
2. After clicking on the ADMIN button, look for the FILE MANAGEMENT box and click on File Manager.
3. Once you are in the File Manager, click on the /domains folder.
4. Once in the /domains folder, look for your website and click on that folder.
5. Once you are in your website's folder, look for /html.
That’s it! You will now be in your root directory …/html.
Method 2- FTP or SSH
If you want to access your root directory over FTP or SSH, feel free to review our additional guides below:
Instructions
For WordPress hosting the root directory is the …/html folder.
Plesk
By default Plesk will make a website’s document root be …/httpdocs. However, due to the customization of a Plesk server, a websites document root may be have been altered. To confirm the document root you can log into Plesk.
1. Once you are logged into Plesk, look on the left side and select Domains
(Note: depending on your Plesk version this might also be called Websites & Domains)
2. Once you see your list of domains, click on your desired domain.
3. Once you are at your domains control panel you can look for Website at: to see the root directory. You can also click on the folder or File Manager to view the inside of the root directory.
cPanel
By default cPanel will make a website’s root directory be …/public_html
1. To access /public_html you can simply log into the cPanel account for the domain and locate the File Manager.
Note:
For cPanel, a root directory may be altered through advanced methods, such as SSH. If you believe your website's document root is no the default .../public_html, you may want to contact your website's developer for assistance in determining the root directory.
FTP or SSH
If you want to access your root directory over FTP or SSH, feel free to review our additional guides below: