# Hosting a frontend on cPanel

This page gives the steps of [Hosting a frontend](/md/docs/frontend/hosting-a-frontend/), in cPanel.

**We have not tried this with Lightbolt in practice yet.** The menu names are the own names of cPanel. But check them on your hosting, and tell us what differs.

| Step | In cPanel |
| --- | --- |
| A package of its own | An **account** of its own, made by the hosting, under **WHM → Create a New Account**. |
| PHP 8.3 or newer | **MultiPHP Manager**. Choose the version for the domain. |
| SSH | **Terminal**, when the hosting allows it. Or SSH, with the login of the account. |
| Without SSH | **Cron Jobs**. Add a job that runs the install file once, with `php /home/<user>/lightbolt-install.php`. Then remove the job. The file goes in the home folder, not in `public_html`. |
| The schedule | **Cron Jobs**. Under *Common settings*, choose *Once per five minutes*. The command is `php /home/<user>/lightbolt/tick.php`. |
| The domain of a site | **Domains → Create A New Domain**, with **Share document root** on. That makes it an alias. In older versions, it is *Aliases* or *Parked Domains*. Make no redirect for it. |
| Certificate | **SSL/TLS Status → Run AutoSSL**. New domains are picked up on the next run. |
| API key | **Manage API Tokens**. The token is sent as `Authorization: cpanel <user>:<token>`. Restrict it to the IP of the CMS server, when the hosting allows it. |

*Also called: cPanel hosting, WHM.*

Last changed 26 November 2026
