Where do I upload my website files?
Upload the website files in the public_html root directory for optimal accessibility. Learn how to manage additional domains in our guide.
The files related to the website are typically uploaded to the root directory public_html. This directory represents the main location where files visible to the public are stored and where the web server accesses them to display the content of the site. Essentially, any file placed in this directory becomes accessible through the browser using the main domain associated with the hosting account.
If addon domains or subdomains are used, their files are uploaded to a separate root directory specified at the time of their configuration. The configuration process is done in cPanel or another similar control panel, and the location of this directory can be customized by the user to fit the desired structure. Additional details about this process are available in the dedicated guide for adding domains.
Implicit, for addon domains, the root directory structure follows the format /home/user/domain_name.tld. For example, if you add an addon domain named siteexemplu.ro, its files will be stored in the /home/user/siteexemplu.ro directory. This structure helps to clearly separate the files between the different websites hosted under the same account, facilitating management and avoiding conflicts between the resources of the sites.
In addition to this, it is important to remember that proper management of the root directory and file structure ensures optimal performance and efficient organization of web content. If you encounter difficulties or have questions about file uploads, the Hostico team is available to provide technical assistance.