Hosting a frontend on DirectAdmin
This page gives the steps of Hosting a frontend, in DirectAdmin.
We have not tried this with Lightbolt in practice yet. The menu names are the own names of DirectAdmin. But check them on your hosting, and tell us what differs.
| Step | In DirectAdmin |
|---|---|
| A package of its own | A user of its own, made by the hosting or a reseller. |
| PHP 8.3 or newer | Domain Setup → the domain → PHP Version Selector, or Select PHP version. |
| SSH | When the hosting allows it, with the login of the user. |
| Without SSH | Cron Jobs. Add a job that runs the install file once, with /usr/local/bin/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, with */5 * * * *. The command is /usr/local/bin/php /home/<user>/lightbolt/tick.php. |
| The domain of a site | Domain Pointers. Add the domain, with Create as an Alias on. When it is off, it becomes a redirect. |
| Certificate | SSL Certificates → Free & automatic certificate from Let's Encrypt, with the pointers ticked. Do it again after each new pointer. |
| API key | Login Keys. Make a key that may only do what is needed, and that is only allowed from the IP of the CMS server. |
Also called: DirectAdmin hosting, DA.
Last changed