0
Shares
Using the cPanel File Manager to upload your website and get it online is a straightforward process. Here’s a step-by-step guide to help you through it:
Step 1: Access cPanel
- Log In: Go to the cPanel login page provided by your web hosting provider.
- Enter Credentials: Use the username and password given by your hosting provider to log in.
Step 2: Open File Manager
- Locate File Manager: Once logged in, look for the File Manager icon under the Files section.
- Open File Manager: Click on the File Manager icon to open it.
Step 3: Navigate to the Public_HTML Directory
- Find Public_HTML: In the File Manager, locate the
public_html
directory. This is the root directory where your website files need to be uploaded. - Open Public_HTML: Double-click on
public_html
to open it.
Step 4: Upload Your Website Files
- Click on Upload: In the top menu of the File Manager, click on the Upload button.
- Select Files: Click on the Select File button to choose the files from your local computer that you want to upload.
- Upload Files: Select all the necessary files (HTML, CSS, JavaScript, images, etc.) and wait for the upload to complete.
Step 5: Extract ZIP Files (If Necessary)
If you uploaded a ZIP file containing your website files, you’ll need to extract it:
- Select the ZIP File: Click on the uploaded ZIP file in the File Manager.
- Extract: Click the Extract button in the top menu.
- Confirm Extraction: Choose the directory where you want to extract the files (usually
public_html
).
Step 6: Verify the Upload
- Check Files: Ensure all your files are correctly uploaded and in the right directories.
- Set Permissions: Make sure your files and directories have the correct permissions (typically 755 for directories and 644 for files).
Step 7: Test Your Website
- Open Browser: Open a web browser and type your domain name in the address bar.
- Verify: Ensure your website loads correctly and all elements (images, links, etc.) are working as expected.
Troubleshooting Tips
- DNS Propagation: If you’ve just pointed your domain to the hosting server, it might take some time (up to 48 hours) for DNS changes to propagate.
- Error Pages: If you encounter errors like 404 or 500, check your file paths and server configuration.
- Permissions: Incorrect file permissions can cause issues. Ensure your files and directories have the appropriate permissions.
Conclusion
Using the cPanel File Manager to upload your website files is a convenient method to get your site online. By following these steps, you can ensure your website is properly uploaded and accessible to visitors. If you encounter any issues, most hosting providers offer support to help you resolve them.