Deploying Zero-Database ZeloCMS on cPanel & Hostinger
Step-by-step instructions for uploading, extracting, and configuring your zero-database ZeloCMS archive on cPanel or Hostinger shared hosting using PHP 8.1+.
ZeloCMS is built for people who want a fast, editable website on their own hosting account without fighting MySQL databases, connection strings, or plugin updates. Instead of storing pages and settings inside database tables, ZeloCMS reads and writes structured JSON files directly on disk—anchored by `data/config.json`—and runs on standard PHP 8.1 or newer. That architectural choice removes the most fragile part of traditional shared-hosting deployments.
If you already have a cPanel account from providers like Namecheap, Bluehost, A2 Hosting, SiteGround, or BigRock, or a Hostinger plan with hPanel, you can take a ZeloCMS export from `/dashboard/downloads` to a live, editable website in under ten minutes. You do not need SSH access, Composer, Node.js, or phpMyAdmin. Everything happens inside your hosting provider's browser-based File Manager.
This guide walks through the full deployment sequence from start to finish: verifying your PHP version, preparing `public_html`, extracting the archive without creating accidental nested folders, signing into `yourdomain.com/admin`, resetting a forgotten admin password through `data/config.json`, taking reliable backups, and fixing the handful of shared-hosting quirks that occasionally trip up first-time deployments.
Pre-Flight Hosting Requirements and Checking PHP 8.1+
Before uploading any files, verify that your hosting account is running PHP 8.1 or newer (PHP 8.1, 8.2, and 8.3 are all fully supported). Older shared hosting accounts sometimes default to PHP 7.4 or PHP 8.0 for legacy compatibility, and running ZeloCMS on PHP 7.x will trigger an immediate HTTP 500 error because modern PHP syntax and type declarations are not recognized by older interpreters.
On cPanel, scroll to the Software section and open either MultiPHP Manager or Select PHP Version (the exact label depends on whether your host uses CloudLinux). In MultiPHP Manager, check the box next to your domain, select `PHP 8.2` or `PHP 8.3` from the PHP Version dropdown at the top right, and click Apply. In Select PHP Version, pick `8.2` or `8.3` from the Current PHP version menu and click Set as current.
On Hostinger hPanel, open your hosting dashboard, go to Advanced in the left sidebar, and click PHP Configuration. Choose PHP 8.2 (or 8.1/8.3) and click Update. Hostinger applies the version change across the selected website within a few seconds. While you are on the PHP settings screen, confirm that standard extensions are active: `json`, `mbstring`, `fileinfo`, `openssl`, and `gd` (or `imagick`) for image handling. Every mainstream cPanel and Hostinger PHP 8.1+ build enables these by default, so you only need to intervene if someone previously stripped down the extension list.
- Minimum PHP version: PHP 8.1. Recommended: PHP 8.2 or PHP 8.3 for the best speed and active security updates.
- Web server: Apache or LiteSpeed with `mod_rewrite` enabled (standard on cPanel and Hostinger).
- Disk space: Typically under 50 MB for a complete site, plus room for any high-resolution images you upload later.
- SSL certificate: Enable AutoSSL in cPanel or Free SSL in Hostinger so `yourdomain.com/admin` always loads over HTTPS.
If MultiPHP Manager shows your domain is set to "inherit", explicitly assign PHP 8.2 or 8.3 to that specific domain rather than relying on the server default. That prevents an upstream host default change from breaking your site later.
Downloading Your ZeloCMS Archive from ZeloPage
Sign in to your ZeloPage account and navigate to `/dashboard/downloads`. Locate your project and click the ZeloCMS package download button. Your browser will save a single `.zip` file containing everything needed for deployment. Do not unzip the archive on your computer before uploading; uploading one compressed `.zip` file over HTTP is vastly faster and less error-prone than transferring hundreds of individual files over FTP.
Before you leave ZeloPage, double-check that you have saved your latest edits in the builder so the exported package reflects your current layout, copy, and media. If you plan to deploy the site to a subdirectory (for example, `yourdomain.com/demo`) rather than the domain root, keep that path in mind, though deploying to a domain root or dedicated subdomain (`demo.yourdomain.com`) is always cleaner for relative asset paths and SEO.
Check the size of the downloaded `.zip` file on your machine. Most ZeloCMS sites weigh between 2 MB and 25 MB depending on the number of images. Standard cPanel and Hostinger File Manager upload limits easily handle files up to 256 MB or more, so you should never need to split the archive.
- Always download the fresh `.zip` from `/dashboard/downloads` right before deploying.
- Keep the archive zipped during upload; extract it on the server using File Manager.
- Verify the file ends in `.zip` and did not get auto-extracted by macOS Safari into a loose folder.
If you use Safari on macOS and it automatically unzips downloaded archives, either download the package in Chrome/Firefox or disable "Open safe files after downloading" in Safari Preferences so you have the original `.zip` ready to upload.
Uploading and Extracting Cleanly in cPanel File Manager
Log in to cPanel and open File Manager under the Files section. Before doing anything else, click the Settings button in the top-right corner of File Manager, check Show Hidden Files (dotfiles), and click Save. This single setting prevents a common mistake: `.htaccess` starts with a dot, and if hidden files are invisible, you will not be able to tell whether `.htaccess` extracted properly or whether an old `.htaccess` file is still sitting in the folder.
Navigate to `public_html` in the left directory tree if you are deploying to your primary domain. If you are deploying to an addon domain or subdomain, open the specific document root assigned to that domain (check Domains inside cPanel if you are unsure which folder maps to which domain). Inspect the existing contents of `public_html`. On a brand-new hosting account, you may see a default `cgi-bin` folder and a placeholder `index.html` or `default.php`. Delete any placeholder HTML or PHP files so they do not override ZeloCMS’s `index.php`. Leave `cgi-bin` and `.well-known` alone—AutoSSL relies on `.well-known` to renew your SSL certificate.
Click Upload in the top toolbar, select your ZeloCMS `.zip` archive, and wait until the progress bar turns green at 100%. Click Go Back to return to `public_html`. Right-click the uploaded `.zip` file, choose Extract, confirm the destination path is `/public_html` (not a subfolder), and click Extract Files. Once extraction completes, reload the File Manager view and check what landed directly inside `public_html`. You should immediately see `index.php`, `.htaccess`, `data/`, and the application asset folders right there at the top level.
Watch closely for the nested-folder trap. If extracting the `.zip` created a single folder such as `public_html/zelocms-export/` with `index.php` sitting inside that subfolder, your live domain will show a directory listing or 403 Forbidden error. To fix it, open the subfolder, click Select All, click Move, and change the destination path to `/public_html`. Confirm the move, navigate back up to `public_html`, and delete both the now-empty subfolder and the original `.zip` file.
- Enable "Show Hidden Files (dotfiles)" in File Manager Settings before inspecting `public_html`.
- Delete placeholder files like `index.html`, `default.html`, or `default.php`, but keep `.well-known`.
- Confirm `index.php`, `.htaccess`, and `data/` sit directly inside `public_html`, not one directory deeper.
- Delete the uploaded `.zip` archive from `public_html` after extraction so visitors cannot download your raw bundle.
Never leave your `.zip` archive inside `public_html` after extracting. Anyone who guesses the filename could download the entire archive—including your initial `data/config.json`—straight from your public web root.
Uploading and Extracting Cleanly in Hostinger hPanel
Hostinger replaces classic cPanel with its own control panel called hPanel, and the workflow is even more streamlined once you know where the buttons live. Log in to hPanel, click Websites in the top navigation bar, and click Manage next to the domain where you want to install ZeloCMS. In the left sidebar, open Files and click File Manager.
Inside Hostinger File Manager, double-click the `public_html` directory. Hostinger automatically places a `default.php` parking page inside every new `public_html` folder. Select `default.php` and delete it; otherwise, visitors loading your domain may keep seeing Hostinger’s welcome banner instead of your ZeloCMS site. Note that Hostinger File Manager displays dotfiles like `.htaccess` by default, so you can verify hidden files immediately.
Click the Upload icon (an upward arrow inside a cloud) in the top-right toolbar, choose File, and select your ZeloCMS `.zip` package. After the upload completes, right-click the `.zip` file in `public_html` and choose Extract. Hostinger will prompt you for a folder name to extract into. Type a single dot (`.`) to extract directly into `public_html` instead of creating a new subdirectory. If you accidentally type a folder name and everything lands inside `public_html/site/`, open that folder, press Ctrl+A to select all items, click Move in the top bar, and move them up to `public_html`.
Once `index.php`, `.htaccess`, and `data/` are visible directly inside `public_html`, delete the `.zip` file. Then visit your domain in a new browser tab. Because Hostinger runs LiteSpeed Web Server with built-in caching, your new site should render immediately with full HTTPS if Hostinger’s free SSL is already active on the domain.
- Delete Hostinger’s default `default.php` file inside `public_html` before testing your domain.
- Enter `.` (a single period) as the extraction target in hPanel File Manager to extract directly into `public_html`.
- Delete the `.zip` file immediately after confirming `index.php` and `data/` are in place.
- If you see an old parking page after uploading, open hPanel -> Advanced -> Cache Manager and click Purge All.
Hostinger’s LiteSpeed Cache can occasionally cache the old `default.php` response for several minutes. Purging Cache Manager in hPanel—or testing in an incognito window—confirms immediately that ZeloCMS is serving live traffic.
Verifying File Permissions and Clean URL Routing
Because ZeloCMS stores edits and uploads directly on disk, the PHP process must have permission to write to the `data/` directory (including `data/config.json`) and any media upload folders such as `uploads/` or `assets/uploads/`. On modern cPanel (suPHP / PHP-FPM) and Hostinger (LiteSpeed PHP), PHP runs under your own hosting account user, which means standard permissions work out of the box.
Standard secure permissions on Linux shared hosting are `0755` for directories and `0644` for files. You should never set folders or files to `0777`, as many cPanel hosts actively block `0777` scripts with a 500 Internal Server Error for security reasons. If you inspect `data/` in File Manager, confirm it is `0755` and `data/config.json` is `0644`. If you ever see a "Failed to save changes" or "Permission denied" message inside `/admin`, verify that the folder is not accidentally set to `0555` or `0444`.
Clean URLs—such as `yourdomain.com/about` and `yourdomain.com/admin` without `.php` extensions—depend on the `.htaccess` file sitting in `public_html`. Open `.htaccess` in File Manager’s editor if you want to verify it is intact. It routes incoming requests that do not match a physical file or directory to `index.php`, and it also blocks direct public browser access to sensitive files inside `data/`. Confirm that visiting `https://yourdomain.com/data/config.json` in your browser returns a 403 Forbidden or 404 Not Found error rather than displaying raw JSON.
- Directories should be `0755`; PHP, HTML, CSS, JS, and JSON files should be `0644`.
- Avoid `0777` permissions—they are insecure and frequently trigger server-level 500 errors on cPanel.
- Verify `.htaccess` is present in `public_html` and starts with a leading dot.
- Test that `https://yourdomain.com/data/config.json` is blocked from public viewing.
If your hosting provider uses Nginx as a standalone web server instead of Apache or LiteSpeed, `.htaccess` files are ignored. You will need to add a standard `try_files $uri $uri/ /index.php?$query_string;` rule and a `location ^~ /data/ { deny all; }` block in your Nginx server config.
Signing Into /admin and Securing Your Installation
Once your live homepage loads cleanly at `https://yourdomain.com`, open `https://yourdomain.com/admin` in your browser. This opens the built-in ZeloCMS administration interface, which lets you edit page copy, swap images, adjust navigation links, update SEO titles and descriptions, and manage site-wide settings directly on your server—without returning to ZeloPage or re-uploading `.zip` files.
Sign in using the admin credentials included with your ZeloCMS export (or complete the first-run admin setup prompt if your export starts with an uninitialized admin account). Your very first action inside `/admin` should be setting a strong, unique password stored in a password manager. Because your site is now live on the public internet, leaving default or weak credentials on `/admin` is the single biggest avoidable risk.
After logging in, make one small test edit—such as updating a footer copyright year or a minor line of text—and click Save. Reload your public homepage in a separate browser tab to confirm the change appears immediately. This single test verifies the entire write pipeline: PHP session handling, CSRF token validation, disk write permissions on `data/`, and cache behavior.
- Access your editor anytime at `https://yourdomain.com/admin`.
- Always access `/admin` over `https://` so your login session cookie is encrypted in transit.
- Change the initial password immediately and verify a test edit persists after reloading.
- Bookmark `https://yourdomain.com/admin` for clients or team members who will manage day-to-day content.
If you are handing the site off to a client, create their final password inside `/admin` before delivery and send them a short walkthrough showing how to edit text and upload optimized images.
Resetting a Forgotten /admin Password via data/config.json
Because ZeloCMS does not rely on a database or an external mail server for password recovery, you never have to worry about broken SMTP settings locking you out of your own website. As long as you can log in to cPanel or Hostinger hPanel, you can reset your `/admin` password in less than two minutes by editing `data/config.json`.
Open File Manager, navigate to `public_html/data/`, and make a quick copy of `config.json` (for example, `config.json.bak`) before making edits—just in case a stray comma breaks JSON syntax. Right-click `data/config.json` and choose Edit. Look for the `admin` or `auth` object containing the `password_hash` (or `password`) field.
ZeloCMS stores passwords using PHP’s `password_hash()` function (bcrypt or Argon2), never in plain text. To set a new password, generate a fresh bcrypt hash using PHP locally (`php -r "echo password_hash('YourNewStrongPassword', PASSWORD_BCRYPT);"`) or via a temporary one-line PHP check, paste the resulting `$2y$10$...` string into the `password_hash` field in `data/config.json`, and save the file. Ensure all quotes and commas remain valid JSON.
Immediately visit `https://yourdomain.com/admin` and sign in with your new password. Once you are back inside, delete `config.json.bak` from `public_html/data/` so no old password hashes sit around unnecessarily.
- Always duplicate `data/config.json` before manual editing in case of a syntax typo.
- Keep valid JSON formatting: double quotes around keys and strings, no trailing commas after the last property.
- Generate a valid PHP bcrypt hash (`$2y$...`) for the `password_hash` value rather than typing a plaintext string.
- Remove any temporary backup files from `data/` once you confirm the new login works.
If you edit `data/config.json` and the site suddenly throws an error, paste the file contents into a JSON validator to spot a missing quote or stray comma. Fixing the JSON restores the site immediately.
Backups, Staging Copies, and Migrating Between Hosts
Running a zero-database CMS makes backups remarkably simple, which means you are far more likely to actually take them. In cPanel File Manager, open `public_html`, click Select All, and click Compress to generate a dated `.zip` archive (for example, `backup-2026-11-29.zip`). Download that archive to your local machine or cloud drive, and then delete the backup `.zip` from `public_html` so it is not publicly accessible.
If you only want to back up your content edits and uploaded images without re-downloading static templates, compressing just the `data/` and `uploads/` directories takes seconds. On Hostinger hPanel, you can also rely on Hostinger’s automated weekly or daily file backups under Files -> Backups, though keeping an off-server copy of `data/` before major edits is still good engineering practice.
Migrating a ZeloCMS site from one host to another—for example, moving from an entry-level cPanel plan to Hostinger or a VPS—follows the exact same steps as a fresh install. Compress your existing `public_html` directory, download the `.zip`, upload and extract it into the new host’s `public_html`, verify PHP 8.1+ on the new server, and update your domain’s DNS `A` record to the new server IP. There are no database imports, no serialized URL rewrites, and zero downtime if you wait for DNS propagation before cancelling the old host.
- Full site backup = one `.zip` of `public_html` (downloaded off-server and removed from the web root).
- Content-only backup = `data/` plus `uploads/`.
- Host migrations require zero SQL dumps or database credential edits.
- You can spin up a staging copy on `staging.yourdomain.com` by copying the same files into the subdomain’s document root.
Before making a big structural change in `/admin`, download a quick copy of `data/config.json` and your content JSON files. Rolling back is as fast as uploading the previous JSON file.
Troubleshooting Common cPanel and Hostinger Deployment Errors
Most ZeloCMS deployments work on the first load, but shared hosting environments vary in subtle ways. If you hit an error right after extraction, check these five common causes in order—they account for nearly every support ticket on cPanel and Hostinger.
HTTP 500 Internal Server Error on the homepage almost always points to one of two things: PHP is still set to 7.4/8.0 instead of 8.1+, or a directive inside `.htaccess` (such as `Options -Indexes` or `Options +FollowSymLinks`) is disallowed by a strict cPanel server policy. Check your PHP version first. If PHP is already 8.1+, open cPanel’s Errors log (under Metrics -> Errors) or temporarily inspect `error_log` inside `public_html` to see the exact line that triggered the 500.
404 Not Found on `yourdomain.com/admin` or internal subpages—while the homepage loads fine—means `.htaccess` is missing, named incorrectly (`htaccess` without the leading dot), or `mod_rewrite` is not active. Confirm dotfiles are visible in File Manager and that `.htaccess` sits directly beside `index.php`.
Changes in `/admin` not saving or throwing a write error usually mean the `data/` directory is not writable or your hosting account has hit its inode/disk quota. Check disk usage in the cPanel/hPanel sidebar and verify `data/` permissions are `0755` with files at `0644`. Finally, if your site looks unstyled or shows an old page after you upload, clear LiteSpeed Cache in Hostinger hPanel (or Cloudflare cache if your domain is proxied) and perform a hard refresh (`Ctrl+Shift+R` or `Cmd+Shift+R`).
- 500 Error: Upgrade PHP to 8.1+ in MultiPHP Manager / hPanel PHP Configuration, and check `public_html/error_log`.
- 404 on `/admin`: Verify `.htaccess` (with leading dot) exists in `public_html` alongside `index.php`.
- 403 Forbidden or directory listing: Files extracted into a nested subfolder instead of directly inside `public_html`.
- Cannot save edits: Verify `data/` is `0755`, `data/config.json` is `0644`, and hosting disk space is not 100% full.
- Stale old page showing: Delete `default.php` / `index.html` and purge Hostinger LiteSpeed Cache.
Always check `public_html/error_log` when diagnosing a 500 error. The last three lines of that file almost always tell you the exact PHP version, extension, or permission issue in plain English.
Frequently asked questions
Build your website, WhatsApp store, and Client CMS free — no card required.