Publishing guide · 04 / 06

Publish a static website with cPanel hosting

Reuse compatible web hosting. Find the right document root, upload and extract your website ZIP in cPanel and check the live result.

Watch on YouTube 5:29 · Captions available

Follow the steps

  1. Ask your host whether your plan can serve static HTML and CSS over HTTPS. If comparing plans, check the renewal price, SSL, backups and support.
  2. In Domains, find the selected domain’s document root. Back up any existing site and use an empty test subdomain to practise when available.
  3. Open File Manager, upload the website ZIP and extract it into the correct document root. Check that index.html sits directly inside it.
  4. Keep the original ZIP locally. Remove the uploaded archive from the public folder after extracting it.
  5. Open the live domain over HTTPS on desktop and mobile. Check images, navigation and your contact link.

Check the result

If you still see the old site or a 404, check that you opened the intended hostname and uploaded to its document root before moving any more files.

Read the video transcript

Welcome, everyone, to this explainer. If you've just grabbed your portable WEBIIIIO website ZIP file, and you're wondering, okay, how do I actually get this thing onto the internet? Well, you are in exactly the right place. Today, we're going to walk through how to take those static files and publish

them directly to a standard, low-cost cPanel shared hosting server. It's a lot easier than you might think. You can think of this guide as your highly focussed chronological checklist. We're going to walk through the entire deployment process together, step by step, to make sure you get your site live securely, calmly, and absolutely

correctly. Okay, let's dive into this. Here is our roadmap for today. First up, we'll check your hosting plan. Then we'll locate your document root.

After that, we're uploading and extracting the files, cleaning up the server files, and finally, testing your live site. Nice and simple. Check your hosting plan. Let's look at the foundation requirements for static sites. So here's the beautiful thing about your WEBIIIIO site.

Because it's a purely static setup, it literally doesn't need any complex server processing or heavy databases, your host simply needs to be able to serve ordinary static HTML and CSS files. That's it. Oh, and it absolutely must support secure delivery over HTTPS. Now, if you're currently shopping around and comparing hosting plans, make

sure you focus on long term value. Ignore those flashy, temporary promotional prices and look closely at the ongoing renewal costs. We want to avoid any hidden future cost hikes. You'll also want to check that the plan includes automatic SSL certificates for that secure HTTPS connection we just talked about.

Robust backups to act as a safety net and good support options just in case you ever need a helping hand. Locate your document root. We need to find exactly where your files belong. You might be wondering what on earth is a document root. Oh, it's actually pretty simple.

It's just the main public folder where a domain's web server looks to find files. When someone types in your web address. The server goes straight to this specific folder and returns whatever it finds sitting there. like your HTML pages or images directly back to the visitor.

And this brilliantly illustrates how it works inside cPanel. According to their official documentation, your domain or subdomain maps directly to a precise folder path. So for a primary domain, it's usually going to be a folder called public_html. But if you're using a subdomain, it's often a dedicated folder named right after that subdomain.

Before you upload anything, you absolutely must note this exact path. Now, listen closely to this part. If your domain already has a live website sitting inside that document root, you must download a full backup of those existing files before you do anything else. Protect your digital assets, right?

If you have an empty test subdomain, practise there first. The next steps illustrate the workflow described in the cPanel documentation. Upload and extract files. Time to actually deploy your website's zip. The mechanics here are super straightforward. First things first, open up the file manager in cPanel and navigate directly

into your target document root. Next, just use the upload function to bring your entire website ZIP file, like that Larkspur Mending website. zip right into the folder. Finally, just right click that uploaded zip file and select extract. This will unpack all your folders and files right there on the server.

So the crucial point here is that once it's extracted. You've gotta verify the structure. Your main index.html file absolutely must sit directly inside the top level of that document root. It cannot be buried inside a subfolder or the site just won't load.

Also, make sure all your asset folders and page folders, like the about or assets folders, are fully intact and preserved exactly as they were inside the zip. Clean up server files. Let's secure your public folder. All right, so there are 2 distinct actions you need to take right now.

Over on your local computer, definitely keep your original website ZIP file as a safe offline backup. Once you’ve checked extraction, remove only the uploaded ZIP from the public folder in cPanel. If you leave a zip file just sitting in your public document root, random

visitors or bots could literally download your entire site archive, definitely not what we want. Test your live site. It's time for the final validation across devices. This is the best part. Here's our final validation checklist.

Go ahead and open a browser, type in your web address, and ensure it's loading securely over HTTPS. Test it on your desktop, but also pull it up on your phone to check that the mobile formatting looks perfect. Click through your navigation menu to make sure all the links are working, verify that your images are loading properly, and don't forget to test your

contact links to. Now, if you get stuck at any point whether you're having trouble choosing a host or just figuring out how to extract your files, don't worry. Email Seizon at the address shown. Include your hosting provider and the step where you got stuck.

Just a quick reminder, though, for your own security, never include your passwords or payment details in those emails. When your site loads over HTTPS and the pages, images and contact links work on desktop and mobile, you can share the public address. So the only question remaining is, now that your digital space is officially

established, what will you publish to the world next? Thank you so much for joining me on this explainer and happy publishing.

Reference links