Before you get started uploading your website, it's important to know what function each folder has in your hosting package. We explain it below.
General #
When you go to the File Manager or connect via FTP you will find the following folders:
- /backups
- /domains
- /imap
- /Maildir
- /public_html
/backups #
The /backups directory contains all backups created through DirectAdmin. You will not have a /backups folder until you create a backup in the control panel.
/domains #
The /domains folder contains the files related to your hosting account(s). Each domain hosted on your account has its own folder (/domains/mywebsite.com). That folder contains:
- /logs
- /private_html
- /public_html (This is where you upload your website)
- /public_ftp
- /stats
- /Maildir
/imap #
The IMAP folder contains data related to your e-mail addresses. So it's best not to change anything about this folder and its contents.
/Maildir #
/Maildir is the system e-mail box storage. It has nothing to do with virtual e-mail boxes. In most cases, the folder contains errors and notifications from the system.
/public_html #
In the /public_html you upload the data of your website. Be sure to place your data in the correct public_html folder if you have multiple domain names linked to your web hosting. It's best to navigate to /domains/mywebsite.com/public_html to work in the correct folder.
index.html file #
The default file for each Web directory is index.html. This means that when visitors visit https://www.mywebsite.com, the server actually sends them to https://www.mywebsite.com/index.html. This works for any publicly accessible directory on your system, including subdomains.
Remember to rename or delete this index.html when you upload your website. Advanced users can use PHP files, shtml files, etc.