1. Get Your Website Files Ready
-
Make sure you have your static website folder ready (usually contains
index.html,style.css,script.js, and images). -
The main file should be named
index.htmlbecause cPanel looks for it as the default homepage.
2. Log In to cPanel
-
Visit:
https://yourdomain.com/cpanel(replace with your domain). -
Enter the username and password provided by your hosting provider (e.g., Netpoa).
3. Open File Manager
-
Inside cPanel, search for File Manager.
-
Navigate to:
This is the root folder where your website files should be placed.
4. Upload Website Files
-
Click Upload.
-
Select all your website files (HTML, CSS, JS, images, etc.).
-
Once uploaded, confirm they are inside
public_html/.
Tip: If your website files are zipped, you can upload the .zip file, then right-click → Extract in File Manager.
5. Test Your Website
-
Open your browser and visit your domain:
-
You should see your website load.
If not:
-
Make sure your index.html is inside
public_html/. -
Clear browser cache or try another browser.
6. (Optional) Create Subdomains for Static Sites
If you want to host multiple static sites under the same cPanel account:
-
Go to Subdomains in cPanel.
-
Example:
blog.yourdomain.com. -
Assign a document root (e.g.,
public_html/blog). -
Upload files to that folder.
7. Add SSL (HTTPS)
-
In cPanel, go to SSL/TLS Status.
-
Make sure your domain has an SSL certificate (most hosts provide free AutoSSL via Let’s Encrypt).
-
Click Run AutoSSL if not installed.
-
Now your site will load on
https://yourdomain.com.
8. Manage Updates
-
Whenever you update your site, upload the new files (overwrite old ones).
-
For bigger changes, upload a
.zipof the new version and extract it.
✅ Done! Your static website is now live using cPanel.
