Uploading to Subdomains in cPanel
Another way to host multiple websites is by creating a Subdomain in your hosting account. Unlike Addon Domains that is a new and unique website, a Subdomain on the other hand is an extension to your Domain Name to create division for other parts of your website.
The same for Addon Domains, files are uploaded to your File Manager for your website page’s content. In this guide, we’ll help you better understand the Default Home Folder and how it works. Then, you’ll learn how to upload files to your Subdomains.
Default Home Folder and How It Works
The path to the specific folder within your account will differ depending on whether it is the main domain, a Subdomain, or an Addon Domain. This guide will help you understand how they work.
Domain Type | URL Path | File Structure |
---|---|---|
Main Domain | http://example.com | public_html |
Subdomain | http://store.example.com | public_html/store |
Addon Domain | http://example2.com | public_html/example2.com |
How to Upload Files to Subdomain
Make sure to create a Subdomain in your hosting account. If you haven’t, please follow the steps in this guide to create a Subdomain via your Hosting Manager. Then follow the steps below to upload files.
Step 1. Log in to your cPanel.
Step 2. Scroll to the Files tab, then click the File Manager option.
Step 3. Once the File Manager< loads, all of the files and folders in your web space will be displayed.
Step 4. On the File Manager page, locate and double the public_html folder.
Step 5. Locate the Subdomain you wish to manage and double click to open the Subdomain folder.
Step 6. Upload your files by clicking the Upload option found at the top menu.
You can also upload files to your Addon Domain folder, if you are hosting multiple domains. Please let us know if you need any further assistance or if you have any questions. We’d love to help!