Uploading files to cPanel is easy and doesn’t take much time. Here’s how you can do it :
Step 1: Login to your cPanel.
Step 2: Scroll to Files section, click on ‘File Manager’.
Step 3: Select Web Root(public_html), click on GO.
Step 4: Click on ‘Upload’.
Step 5: Click on ‘Browse’ to select the file from your computer.
Step 6: Once the upload is complete, click on ‘Back to /home/username/public_html’.
That’s it. You have successfully uploaded files on to cPanel to publish your website.
Note: Primary file should be named as index. Extension will depend on the coding such as index.html, index.php etc.