DirectAdmin VPS Setup Guide

Install, Configure, and Run a DirectAdmin VPS
directadmin custombuild updates processing screen

CustomBuild Requirements After OpenLiteSpeed Install

Written by
Jeffrey Thomas Baygents
documenting DirectAdmin VPS and self‑managed hosting systems.

Immediately after installing OpenLiteSpeed (OLS) using DirectAdmin, several CustomBuild options must be applied after installing OLS, before continuing with any additional server setup. These options ensure required PHP versions, extensions, Redis support, and background services are correctly enabled. And, after that, applying an automatic CustomBuild update finalizes the process.

This guide is part of the Platform Readiness phase of building a DirectAdmin VPS.

The CustomBuild update process shown here is not unique to OpenLiteSpeed. The same update steps may be required later whenever CustomBuild options are changed, new services are enabled, or PHP versions are modified.

Apply CustomBuild Options

  1. Log in to DirectAdmin:
    • http://<VPS_Server_IP_Address>:2222/
    • At this stage, DirectAdmin uses HTTP and the server IP only.
  2. From the DirectAdmin Control Panel (Admin level):
    • Go to Server Manager → CustomBuild → Options
  3. Apply the following CustomBuild option changes:
    • PHP Settings
      • phpl_release: 8.3 (or your chosen version)
      • php_ini: Yes
    • PHP Extension Settings (scroll down ~60%)
      • php_igbinary: Yes
      • php_imagick: Yes
      • php_ioncube: Yes (required is planning or using Softaculous)
      • php_redis: Yes (if using redis for any form of caching)
    • Cronjob Settings
      • email: admin@<your-domain-name>
      • notifications: Yes
    • Advanced Settings
      • redis: Yes
      • This triggers installation of the Redis service.
  4. Click Update Settings.

Apply CustomBuild Updates

DirectAdmin’s CustomBuild updates are done by following 3 easy steps.

  1. See the notification indicator of a suggested update and its count quantity.
  2. Go to the updates area and see the list of a bulk update option or a list of individual updates available.
  3. Perform the bulk or individual updates, as desired or needed.
directadmin custombuild update stages overview
Three stages of the DirectAdmin CustomBuild update workflow

Next, follow the actions to apply the updates in this case, since OpenLiteSpeed was installed.

  1. From the DirectAdmin Control Panel (Admin level):
    • Go to Server Manager → CustomBuild → Updates
  2. Click Update All.

After clicking to <Update All>, a terminal session window appears with a blue message progress. Stay on that screen until it’s done. Then, perform the remaining steps.

directadmin custombuild update terminal session
CustomBuild update terminal session with progress message
  1. Wait until all updates complete:
    • Processing typically takes about 3 minutes.
    • The page auto-refreshes.
    • No completion notification is shown.
  2. After the message indicating LiteSpeed service restart appears:
    • Wait approximately 15 seconds.
    • Reboot the server.

Optional Post‑Update Command‑Line Verification

After the reboot, you can optionally verify that all required services and extensions are running correctly. Here are some code block examples of things you can check to confirm.

Code Block 1. Verify OpenLiteSpeed is Running.

systemctl status lsws

Expected state: active (running)

Code Block 2. Verify PHP Version is applied.

php -v

Expected: PHP 8.3.x (or the version you previously selected)

Code Block 3. Verify PHP Extensions by showing a list

php -m | egrep 'imagick|redis|ioncube|igbinary'

Expected: all listed extensions present

Code Block4. Verify Redis Service is running.

systemctl status redis

Expected state: active (running)

Code Block5. Verify Redis Service actively responds.

redis-cli ping

Expected output: PONG

After CustomBuild Updates Applied: What’s Next?

There are several possible avenues to take after applying these options and updates. Here are several possibilities. Usually you’re following the order of continuing a build of a VPS, and you just installed OLS, you’ll then want to start to setup your initial primary domain, or establishing another domain.

  • Add a primary (1st) domain or add an additional domain to the VPS.

Related Articles

Leave the first comment

This site is protected by reCAPTCHA and the Google Google Privacy Policy and Google Terms of Service apply.

© 1996-2026 Jeffrey Thomas Baygents. All rights reserved.