How to Upload an HTML Website to cPanel, Hostinger or Netlify

You have a finished website as a zip file: an index.html, a few folders of images and fonts, maybe a README. Now it needs to live on the internet. If you have never done it before, the hosting dashboards can look intimidating. The good news: how to upload an HTML website comes down to one rule, and the rest is clicking the right buttons.
The rule: your index.html must end up in the folder your domain points to (the "web root"), with all its folders next to it.
This guide shows how to do that on cPanel, Hostinger, Netlify and Cloudflare Pages, using a theme from DoraPDF Websites as the example. The free themes Tempo and Morning are ideal for practising.
Step 0: Prepare the files
- Download your site as an HTML zip. Free themes (Haven, Tempo, Morning) download directly from the Websites page; premium themes are downloaded from Theme Studio after purchase.
- Unzip it on your computer and look inside. A DoraPDF HTML zip contains a folder named after the theme, for example
tempo-html. Inside areindex.html, folders such asimgandfonts, and aREADME.txt. - Open
index.htmlin your browser by double-clicking it. If it looks right locally, the files are complete.
Keep in mind: upload what is inside the theme folder, not the folder itself, unless you want the site to live at yourdomain.com/tempo-html/.
Option 1: cPanel (most shared hosting)
- Log in to cPanel and open File Manager.
- Go into public_html. This is the web root for your main domain.
- If there is an old
index.html,index.phpor a "coming soon" page, move it to a backup folder or delete it, so it does not take priority. - Click Upload and choose your zip file.
- Back in File Manager, right-click the zip and choose Extract.
- If the extraction created a subfolder (such as
tempo-html), open it, select all files and folders, choose Move, and move them up topublic_html. - Visit your domain. If you still see an old page, clear your browser cache or try a private window.
Using an add-on domain or subdomain? Its web root is usually a separate folder shown under Domains in cPanel; upload there instead.
Option 2: Hostinger
Hostinger's panel (hPanel) has its own File Manager:
- In hPanel, open Websites, choose your site and open File Manager.
- Open the public_html folder.
- Upload the zip, then extract it.
- As with cPanel, move the contents of the theme subfolder up into
public_htmlsoindex.htmlsits directly inside it. - Remove any default
default.phpor placeholder index file the host created, if it is still there.
Hostinger also offers FTP access. If you prefer an FTP app such as FileZilla, connect with the FTP details shown in hPanel and drag the contents of the theme folder into public_html.
Option 3: Netlify (free static hosting)
Netlify is great for HTML sites because there is no server to manage.
- Create a free Netlify account and open your team dashboard.
- Find the option to deploy manually by drag and drop.
- Drag the unzipped theme folder (the one containing
index.html) onto the drop area. - Netlify uploads it and gives you a random address such as
something.netlify.app. Open it to check. - Under the site's domain settings, add your own domain and follow Netlify's DNS instructions.
To update the site later, drag the new folder into the site's deploys area.
Option 4: Cloudflare Pages
- In the Cloudflare dashboard, go to Workers & Pages and create a new Pages project.
- Choose the option to upload assets directly.
- Upload the unzipped folder (or the zip).
- Deploy. You get a
pages.devaddress. - Add a custom domain in the project settings. If your domain already uses Cloudflare DNS, this is very quick.
Connecting your domain
Whichever host you use, your domain must point to it. With cPanel and Hostinger, this usually means setting your domain's nameservers to the ones the host gives you, or adding an A record. With Netlify and Cloudflare Pages, you follow their custom-domain steps. DNS changes can take from a few minutes to several hours to spread.
After the domain works, make sure HTTPS is active. Most hosts offer a free SSL certificate; on cPanel look for SSL/TLS Status or AutoSSL.
Already on WordPress?
Do not upload the HTML zip to a WordPress site's theme screen. Use the WordPress theme zip instead: Appearance > Themes > Add New > Upload Theme > Activate. Our guide on installing an HTML template on WordPress explains the difference.
Check your live site
- Phone, tablet and desktop. The Responsive Design Checker shows your live URL at three widths side by side.
- Share preview. Paste your URL into the Open Graph Checker to see how the link will look in WhatsApp, Facebook or LinkedIn.
- Forms. A static HTML site has no server code, so forms need a form service or another backend before they can send you messages. Test every form and button.
Common problems and fixes
"Index of /" or a list of files appears. There is no index.html in the web root. You probably left it inside a subfolder; move the contents up.
The page loads without styling or images. You moved index.html but not the folders next to it, or folder names changed. Keep the structure exactly as in the zip. Also note that file names are case-sensitive on most servers: Img/photo.jpg is not img/photo.jpg.
The old "coming soon" page still shows. Delete the old index file and clear your browser cache.
404 on Netlify. You dropped a parent folder, so index.html ended up one level too deep. Drop the folder that directly contains index.html.
Images are slow. Compress large photos with the Image Compressor before uploading.
FAQ
Can I host an HTML website for free?
Yes. Netlify and Cloudflare Pages both offer free plans for static HTML sites. You only pay for the domain.
Where do I upload files in cPanel?
Into public_html for your main domain, so that index.html sits directly in that folder.
Do I need to unzip the file before uploading?
For cPanel and Hostinger you can upload the zip and extract it in File Manager. For Netlify drag-and-drop, unzip it first and drop the folder.
Will my DoraPDF theme work on any hosting?
Yes. The HTML zip is plain static files, so it works on cPanel, Hostinger, Netlify, Cloudflare Pages and similar hosts.
Try the tools from this guide — free
Keep reading
Best Free PDF Website for Students? Why Students Choose DoraPDF
What students need from a free PDF website (no sign-up, no watermark, works on phone, private) and how DoraPDF covers the full assignment chain.
GuideIs Paid PDF Software Worth It? Free vs Paid PDF Tools, Task by Task
Free vs paid PDF software: which everyday tasks free DoraPDF tools cover, when paying makes sense, and a 5-minute test before you renew.
GuideStartup Landing Page Template: The Sections That Convert (Spectral and Embr)
Which landing page sections a startup needs, in what order, and how to build one fast with the Spectral or Embr template and Dora AI.