Knowing where to put files makes it much easier to fix problems and keep things tidy. This article explains the folders in your hosting account and which one your website lives in.
Steps
If your cPanel uses the Jupiter theme
- Log in to cPanel and open Files > File Manager.
- Look at your home folder in the left panel. You will see folders including public_html, mail, and others.
- Click public_html. This is the document root of your main domain. Anything in this folder can be reached on the web.
- To see where another domain's files live, go to Domains > Domains. The Document Root column shows each domain's folder.
- Place your home page file, such as index.html or index.php, directly in the document root folder, not inside another folder.
If your cPanel uses the Meridian theme
- Log in to cPanel and click Files in the left sidebar.
- Open the File Manager tab and look at your home folder. You will see folders including public_html, mail, and others.
- Open public_html. This is the document root of your main domain. Anything in this folder can be reached on the web.
- To see where another domain's files live, click Websites in the sidebar, click Manage next to the domain, and look at the website folder (document root) on the Overview tab.
- Place your home page file, such as index.html or index.php, directly in the document root folder, not inside another folder.
Tips and troubleshooting
- Do not put private files such as backups, passwords, or customer lists in public_html. Anyone who guesses the web address can download them. Keep them above it in your home folder.
- Addon domains and subdomains usually have their own folders, such as public_html/yourdomain2.com or public_html/shop.
- Do not delete or move folders you do not recognize. Folders such as mail, etc, and ssl are used by your hosting account.
- If your website shows a list of files instead of a page, there may be no index file in the folder, or the files were placed in the wrong folder.
- If you moved files from a different host, make sure they were not placed inside an extra folder.
Need help? Contact Barrett IT Support at support@barrettit.com or call 888.374.4632.
