Where to Upload Your Website Files
Upload your website files to the public_html folder. This is the root directory for your primary domain name. The www folder is a shortcut that points to the same location, so uploading to either one has the same result.
Important Notes
- Your main page should be named
index.html,index.php, orindex.htm. The server looks for these filenames automatically when someone visits your domain. - Do not upload into the wrong level. Your files should be directly inside
public_html, not inside a subfolder unless you intend for your site to load from a subdirectory. For example, if your index.html is atpublic_html/mysite/index.html, visitors would need to go to yourdomain.com/mysite/ to see it. - Addon domains have their own folders inside
public_html. For example, if you added seconddomain.com as an addon domain, its files would go inpublic_html/seconddomain.com/by default.
How to Upload
You can upload files using an FTP client like FileZilla (connect to your domain on port 21 with your cPanel credentials) or directly through the File Manager in your cPanel control panel. File Manager includes an upload button in the toolbar that lets you drag and drop files from your computer.
