Documentation

Unicorn Panel Documentation

Guides for installing, configuring, and operating Unicorn Panel across your fleet.

Last updated

Installation Guide

Unicorn Panel is under active development and this documentation is currently outdated. We are actively working on bringing it up-to-date. Check the status dot next to each section in the sidebar to see whether it is complete, awaiting updates, or outdated.

Thank you for choosing Unicorn Panel (UPCP). Installing it is a single command.

If you do not have a server yet, Unicorn Panel is a Vultr Marketplace app: Vultr builds the server with the panel already on it, so you can skip the steps below.

UPCP is a multi-server web hosting control panel that runs on Alpine Linux and Ubuntu. Every server in your fleet is managed from one of them, the Primary Control Panel. Adding another server later means copying the install command the Primary generates for it and pasting that into the new box.

Hardware requirements

  1. A blank (no other software) VPS or bare metal server.
  2. Alpine Linux v3.20 or above (recommended), or Ubuntu 24.04 LTS or 26.04 LTS, which are the two Ubuntu releases we test against. The installer picks the right path automatically; a mixed fleet with some Alpine and some Ubuntu hosts is fine.
  3. A minimum of 500MB RAM and 5GB storage.
On a server with little RAM, enable swap before installing.

Everything UPCP stores lives under /opt/upcp, and customer data specifically under /opt/upcp/containers. Either path can be its own partition if you want to give the server more room.

Two roles store their data elsewhere. Mailboxes from the Hermes role go to /opt/upcp/services/upcp-ues/data, and the Backup role writes to /backups, which can be a partition, a network mount, or external storage.

Installation steps

The very first server you install UPCP on will be automatically designated as the Primary Control Panel. We recommend using a provider with snapshot/backup capability for disaster recovery purposes.

UPCP is free to install and needs no license key to run. The free tier covers 2 servers and 2 accounts, and everything else is unlimited: as many websites, databases, mailboxes and DNS zones as those servers will carry, with every engine and role available. A license key raises the server and account limits when you outgrow them. See pricing for what that costs.

  1. Log in to your new Alpine or Ubuntu server as root.
  2. Copy and paste the installation command into the terminal:
    wget -qO- https://unicornpanel.com/install | sh
  3. Press Enter to start the installation.
  4. Wait for it to finish. It ends by printing a link and the login details for your administration account.
  5. If that link does not open, check that your firewall allows port 8727.
  6. Once logged in, navigate to My Account (click your user icon, bottom left) -> Password to update your details and change the password. We highly recommend navigating to Login Security in this section to enable 2FA or Passkeys. Please note, Passkeys will only work on a fully qualified domain name.
  7. If you forget your admin password, type unicorn root reset-admin-password in your terminal to generate a new password.
  8. If you have a license key, go to Settings -> License Key and enter it. Once it validates, the server and account limits lift to whatever your key covers.
The end of a successful install: every step ticked off, then the panel URL, the admin email address and the generated password The same details are written to /root/upcp-installer.log, so closing the terminal before you copy them is not a problem.

Unicorn Panel is now installed and running. Give it a few minutes for CPU usage to settle.

Firewall Ports to Allow

The installer opens the ports UPCP needs, and each role you add opens its own. These are the ports UPCP uses:

If your provider runs a network-level firewall in front of the server, these may need opening there as well.

UPCP

Port 8727 TCP must be open on all UPCP servers.

Applications

  • 80 TCP
  • 443 TCP UDP
  • 22 TCP (SSH)

Database

Only open these if something outside the server needs to reach the database directly.
  • 3306 TCP
  • 3307 TCP (Used when a second database role is installed)
  • 3308 TCP (Used when a third database role is installed)
  • 5432 TCP (PostgreSQL)

DNS

Only open this if the server will answer DNS queries.
  • 53 TCP UDP

Email

Only open these if the server will handle mail.
  • 25 TCP
  • 143 TCP
  • 465 TCP
  • 587 TCP
  • 993 TCP
  • 4190 TCP (ManageSieve)
4190 is ManageSieve, which is how a mail client lets the user edit their own Sieve filters. Hermes binds it on all interfaces by default, the same as IMAP and SMTP. If nobody manages filters from a desktop or mobile client, you can leave 4190 closed at the firewall and the rest of the mail stack is unaffected.

After Installation

With the Primary Control Panel installed, these are the things worth setting up next:

  • Set up SMTP: The Primary Control Panel needs to send emails (forgot password, various notifications, etc). You can set these settings at Settings -> SMTP Settings.
  • Set a Control Panel Domain Name: A vanity domain lets your customers log in without the port number in the URL. Once you set this domain name, the port 8727 is no longer used, but keep the port open in the Firewall. You can set this at Settings -> Control Panel Domain. If you intend to use an IP Address, please read the next point. A vanity domain is worth setting up: the panel turns on passkey support automatically, and browsers stop withholding the newer features they hold back on a bare IP address, so the panel is quicker for your customers.
  • Enable SSL at the Control Panel: By default, a self-signed SSL Certificate will be used. If you plan on using a vanity domain name, you can simply Set a Control Panel Domain Name (as above) and a free SSL Certificate will be generated. If you plan to use an IP address instead, that can be secured through Let's Encrypt too: go to Settings -> Tools -> Renew CP SSL. The certificate will be valid, but passkeys stay unavailable on an IP address and some browser features remain limited.
  • Set up Branding: Change the panel's colors, icons and names. You can set these options at Settings -> Branding.
  • Set up another Server: Navigate to Servers and click the Add server button to start the new server set up.
  • Set up Roles: Roles (web engines, databases, DNS, mail and so on) are installed per server. Go to Servers -> |server| -> Roles to add them.
  • Set up DNS: Enable the Heimdall DNS role on one or more servers first. A Settings -> Nameservers (DNS) option then appears, where you set up your own branded nameservers.
  • Set up Email: Enable the Hermes Mail Suite role on one or more servers first. A Settings -> Hermes Mail Suite option then appears, covering outgoing spam scoring, automatic suspension and the rest of Hermes.

Overview

The Websites page lists every site your account can see. Each site is its own container with its own files, PHP runtime, databases (if Mimir is used), and resource caps. What shows up in the list depends on your role:

  • Owners and Super Administrators see every website in the fleet.
  • Support accounts see every tenant site (Reseller, Customer, Collaborator).
  • Resellers see every website created under their account, by themselves or their Customers.
  • Customers see sites they own, plus sites their Collaborators have created on their behalf.
  • Collaborators see only the sites their parent Customer has granted them.
The Websites page in card view: every site with a preview, its status, and live visitor, disk and bandwidth figures

You can switch between card view and list view with the toggle in the toolbar. Use the search box to filter by domain, uid, or server name. The counts next to each site (CPU, memory, visitors) refresh every few seconds while the page is open.

A site under sustained resource pressure gets a tinted border on its card. A warning triangle names which metric is high. One short spike will not trigger it; only three of the last six 10-minute samples above the threshold.

Create a new website

Click New site on the toolbar to open the create wizard. The wizard only offers you options you can actually use. If no server in the fleet has a web server role enabled yet, you will see a hint pointing you at the Servers page instead of three choices that would all fail at save time.

  1. Pick an application type. Static HTML, PHP, WordPress, Clone (duplicate an existing site), or Reverse Proxy (point a domain at a backend URL, panel terminates SSL and forwards traffic). The list reflects which roles are enabled on at least one server.
  2. Pick a PHP version (if applicable). Only versions actually installed on the fleet appear.
  3. Pick a server. Filtered by your package's placement rules and by which servers have the required roles. If you only have access to one server for the resource type you picked, that one is pre-selected.
  4. Pick a web server. NGINX, Apache, OpenLiteSpeed, or Sleipnir, whichever the chosen server has enabled. Reverse Proxy sites skip this step, they have no backend container.
  5. Set the domain. The wizard checks availability as you type, including subdomains of other panel sites. If you select Set up DNS, the panel creates the matching zone on your DNS server.
  6. WordPress only: set the admin user and email. You can also opt into the Cache Helper mu-plugin so cache clears automatically on content changes.
  7. Reverse Proxy only: paste the backend URL (http:// or https:// scheme). You can add path-based routes, timeouts, response buffering, and rate limits later from Manage then Settings on the created site.
The first step of the create wizard: the application type, and the domain checked as you type with the DNS records it will add A later step of the create wizard: the server the site lands on, the web server that serves it, and where its backups go Free SSL is issued automatically via Let's Encrypt the moment the domain's A record points at your server. If DNS has not propagated yet, the site is still created and SSL retries on a schedule.

Clone an existing site

Picking Clone in step 1 of the create wizard duplicates an existing site onto a new domain. The source list only shows sites you have access to, with a search box for domain or uid. You can clone from any site type the standard create flow supports (Static HTML, PHP, WordPress), including sites on another server in the fleet; Reverse Proxy sites are not cloneable because there is nothing to copy.

Once you pick a source, the wizard shows an estimate of the clone's size (home + databases + mail bytes) and the options you can toggle before kicking off the copy:

  • Replace file paths: rewrites /home/<src-uid>/… → /home/<new-uid>/… in every file and database row. Leave this on unless the source has hardcoded absolute paths you want preserved.
  • Replace https://, http://, and scheme-relative // URLs: swaps https://old-domain for https://new-domain (and same for the other two schemes) across every file and every database table. One toggle per scheme so you can leave, say, HTTP references alone while rewriting the HTTPS ones.
  • Clone linked databases: copies each database the source has in its linked_databases list into a new database owned by the destination site. Lists the actual database names so you can see what is going to be duplicated. Rename-aware: the new databases get the destination uid as a prefix instead of the source uid.
  • Rewrite DB credentials in config files: updates wp-config.php, .env, and similar files so the clone connects to its own copied databases rather than the source's. Requires the Clone linked databases toggle to be on.
  • Copy cron jobs: duplicates the source's cronjobs onto the destination with paths rewritten to point at the new site.
  • Copy SSH keys: carries the source's authorized_keys over to the destination's SSH user so the same keypairs work on both.

The destination is provisioned first as an empty shell (vhost, SSL, DNS, container, backup target) with the source's real type, then the clone job runs in the background to populate it. You can navigate away immediately; the Websites page shows a progress chip on the row while the copy is in flight, and the usual kebab actions light up once it finishes.

When the source lives on another server, the panel coordinates a push from the source host to the destination host over the inter-panel socket. The whole flow stays inside your fleet; nothing round-trips through a client-side download.

A clone of a WordPress site uses PHP as the shell type during provisioning (so the destination skips the fresh WordPress installer and gets a byte-for-byte copy of the source's app files instead). Settings is patched back to WordPress once the copy completes, so the clone shows up as a WordPress site in the Websites list and gets the WordPress-specific tabs on its Manage page.

WordPress

Picking WordPress in step 1 runs the standard create flow plus a one-shot WP install at the end. The create wizard adds a WordPress-specific step for the admin account and the WordPress version to install:

  • WordPress Version: the five most recent releases known to work with the PHP version you picked. Switching PHP version re-filters the list so you cannot pair, say, a legacy WP release with the newest PHP build.
  • Site Title: WordPress's blogname. Shown in the admin dashboard header and in the default theme's masthead; easy to change later from inside WordPress.
  • Admin Username, Admin Password, Admin Email: the first (super-admin) user. The password must be at least 6 characters and the email has to parse as an email address before the wizard will let you continue.

The install runs via wp-cli inside the site's container at the end of provisioning, so by the time the wizard closes you have a working WordPress site with the admin account you picked. The database the site gets linked to is created automatically; you do not pick one in the wizard.

On the Manage page, WordPress sites get an extra WordPress tab (the WordPress Toolkit) that is not shown on other site types:

  • One-click login: opens wp-admin in a new tab, already authenticated as the admin user, without you having to type the password.
  • Core version + update: shows the installed WP version against the latest release, with an Update Core button when behind.
  • Plugins list: name, version, active state, update available. Activate, deactivate, update, or delete per plugin.
  • Debug flags: WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY read live from wp-config.php (so an operator editing by hand sees the truth). Toggle flips the value in the file.
  • Maintenance mode: creates or removes the .maintenance file in the webroot, so the whole site returns the WP maintenance page.
The WordPress tab is gated on the wordpress_toolkit package feature. Resellers on a plan without it get the tab hidden; a deep-link to the WordPress section renders a "not enabled on your plan" card instead of silently loading nothing.

Create a Reverse Proxy site

A Reverse Proxy site has no container of its own. The panel's shared upcp-proxy terminates SSL at the edge and forwards traffic to one or more backend URLs you specify. Suits proxying an existing app that already runs somewhere (another VM, a container platform, a public SaaS endpoint) through a domain managed by the panel so it gets the panel's SSL, rate limits, bot blocks and WAF.

Picking Reverse Proxy in step 1 shortens the wizard:

  • Backend URL: the destination for the default / route, with scheme and port. Examples: http://10.0.0.5:8090/ for an internal service, https://api.example.com/v2/ for a public one. The panel resolves the hostname before accepting the create so a typo fails fast.
  • No SSH user, no database: the wizard skips those steps because there is no container to shell into or database to attach.
  • No web-server pick: the panel's upcp-proxy nginx handles the site; you do not pick NGINX / Apache / OLS / Sleipnir for a Reverse Proxy site.

The newly-created site gets a dedicated Reverse Proxy card on its Settings tab in place of the normal Features and PHP cards. That card is where you add path-based routes (longest matching path wins), per-route timeouts and buffering, backend SSL verification, and the per-site rate limits. The full field reference is in Settings > Reverse Proxy below.

Several Manage tabs are hidden on a Reverse Proxy site because they have no backing resource: File Manager, Terminal, Databases, WordPress, and Malware. The kebab menu on the Websites page drops the same actions (plus Recreate Container, since there is no container to recreate) when the row is a Reverse Proxy site. The System Resources tab stays visible but trims to the metrics that actually apply: bandwidth, home storage (log files + settings), and rate-limit knobs; CPU and memory tiles are hidden because there is no container to sample.

Reverse Proxy sites still get free Let's Encrypt SSL on the panel-facing hostname. The backend's own certificate is a separate concern, controlled per-route by the Verify Backend SSL toggle described in the Settings > Reverse Proxy section.

The kebab menu

Every site in the list has a kebab menu on the right. Common actions:

  • Open the public site in a new tab.
  • Manage the site (opens the Manage pages described below).
  • File manager for the site's home directory.
  • Web terminal for a shell session inside the site's container.
  • Favorite to pin the site to the top of your list.

Owners, Super Administrators, Support, and Resellers also see:

  • Set Resources, Disable, Transfer Ownership, Move to another server, Delete.

Managing a website

Clicking Manage opens the per-site page, with its tabs listed down the left. Each tab is covered in its own section below.

The Manage page for a website on its Overview tab: a live screenshot of the site, the developer information including document root and SSH and SFTP details, the bandwidth, disk, visitor and CPU figures, and Quick Tools below them

Overview tab

Lists the site's domain, aliases, server, web server, PHP version, SSL status, and container uptime, alongside a live screenshot of the site and a Developer Information card: document root, SSH and SFTP user and commands, IP address, and the paths to the PHP error and access logs. Bandwidth, disk, visitors, and CPU and memory are summarized beside it. Quick Tools gives you one-click Reload PHP, Restart Mimir (if the site uses Mimir databases), and screenshot refresh.

Logs

Access and error logs for the site's web server and PHP, streamed live from the container. Toggle between log types and tail depth with the controls at the top. You can download the current window as a plain text file.

Linked Databases

Databases tied to this site. One-click opens Adminer, phpMyAdmin, or phpPgAdmin for that database (whichever is installed on the fleet). Clicking a database on this tab also opens its usage history and size trend.

File Manager

Browse, upload, download, and edit files inside the site's container. Supports drag-and-drop upload, bulk delete/move/copy, archive extract, and remote URL download. Downloads stream through a dedicated service so even multi-GB files do not blow up PHP memory.

The file manager inside a site’s container: files with their owner, group and other permissions, and the actions menu open on a folder offering rename, permissions, move, copy and compress Each site's file manager is jailed to that site's own directory. A Collaborator granted one site can never see files from a sibling site.

Settings

The site's own runtime settings. A normal site gets two cards, Features and PHP settings. A Reverse Proxy site gets the Reverse Proxy card described at the end of this section instead, because it has no container to configure. Nothing here touches any other site or the host.

The Settings tab for a website: the Features card with its Cloudflare and Bunny DNS traffic, Redis and Memcached toggles, and the PHP Settings card below it with the version, limits, disabled functions and OPcache

Features

Optional services for this site, each a toggle with a help icon that explains what turning it on does:

  • Cloudflare DNS Traffic and Bunny DNS Traffic, for sites whose traffic arrives through those networks.
  • Redis and Memcached, each running inside the site's own container rather than shared across the host.

PHP settings

The PHP runtime for this one site, set from the panel instead of by editing a server-wide php.ini. Save applies the change to this site alone.

  • PHP Version, picked from the versions installed on the host.
  • Memory Limit, Max Execution Time, Max Input Time, and Max Input Vars.
  • Max Upload Size and Max POST Size, which usually want raising together.
  • Disabled Functions: a comma-separated list of PHP functions to block. The shipped default blocks exec, system, passthru, pcntl_exec, popen, proc_open, and shell_exec. Leaving it empty allows every function.
  • Enable OPcache, on by default.
A legacy application that needs one of the disabled functions can have it allowed for that site only, without opening the same function up on every other site on the server.

Staging mode

A per-site toggle that marks the site as a staging environment. When enabled, the panel writes a proxy drop-in that stamps X-Robots-Tag: noindex, nofollow, nosnippet onto every response, so search engines that honor the header leave the site out of their index without you managing a robots.txt. A STAGING pill appears on the site's row in the Websites list while the toggle is on.

Staging is separate from Basic Authentication: use Staging when you want the site publicly reachable for client review but kept out of search, and layer Basic Authentication on top if you also need to hide it from casual visitors. Flip Staging off before you point production traffic at the domain so the header stops suppressing indexing.

Staging only hides the site from search engines that read X-Robots-Tag. It does not block visitors, rewrite links, or change what the site serves.

Custom Outgoing Mail (SMTP)

Route mail sent from this one site (via PHP mail() or shell sendmail) through an external SMTP relay such as SendGrid, Mailgun, SES, or a provider mailbox. Toggle it on, fill in Host, Port, Username, and Password, pick an Encryption mode, and Save. Credentials apply in place without recreating the container, so the next message the site sends goes out through the relay. Toggling the card off reverts the site to the local mail path on the host (Hermes if the role is enabled; otherwise the server's default).

Per-site SMTP is gated by the package feature Custom Outgoing Mail. A customer whose package does not include the feature will not see the card.

Reverse Proxy

Shown on Reverse Proxy sites in place of the Features and PHP cards. Incoming requests are routed to the destinations you list here, longest matching path wins, and changes apply instantly on save rather than needing a reload.

Routes

Add Route appends a row; the trash icon on a row removes it. Each route has:

  • Path: the prefix this route matches. The first route defaults to /, which catches everything that no longer path matches.
  • Destination URL: where matching requests go, including the scheme and the port, for example http://10.0.0.5:8090/.
  • Preserve Host: send the visitor's original Host header to the backend rather than the destination's. Leave this on for most applications, since many generate links and cookies from the host they are given.
  • Verify Backend SSL: validate the backend's certificate when the destination is https://. Off suits a backend on a private address with a self-signed certificate; on is correct when the backend presents a real certificate.
  • Response buffering: hold the backend's response before passing it on. Off streams it through, which is what you want for downloads, Server-Sent Events, and anything long-running.
  • Timeouts, in seconds: Connect for opening the connection, Send for writing the request, and Read for waiting on the response. Raise Read for a backend that is slow to answer.

Limits and tuning

These apply to the whole site rather than per route, and zero means unlimited on every one of them.

  • Max request body: the largest request the proxy accepts, written with a suffix such as 100M. Raise it for a backend that takes large uploads.
  • Max req/sec per IP and Burst: the sustained request rate allowed from one address, and how far above it a short spike may go before requests are rejected.
  • Max conns per IP and Max conns per site: concurrent connection ceilings, one per visitor and one for the site as a whole.

Save Reverse Proxy Settings applies the routes and the limits together.

SEO Tools

Per-site toggles and inputs that affect how the site is served. All changes rewrite the proxy config and reload NGINX in place.

Force HTTPS

Every plain-HTTP request is 301-redirected to the HTTPS version of the same URL. Turn this on once SSL has issued successfully.

Preferred Domain

Pick between www.yoursite.com, yoursite.com, or neither. The non-preferred version 301-redirects to the preferred one. Set to neither if you want both to resolve independently.

Block AI crawlers

Returns 403 to crawlers that identify themselves as AI training agents (OpenAI, Anthropic, Google-Extended, Perplexity, Meta-ExternalAgent, and others). Does not affect regular search engines.

Show the full list of blocked AI user agents
  • OpenAI: GPTBot, ChatGPT, OpenAI, GPT-4, GPT-5
  • Anthropic: Claude-Web, Anthropic, ClaudeBot
  • Google: Google-Extended, GoogleOther, Google-LLM
  • Meta: FacebookBot, Meta-ExternalAgent, MetaBot
  • Other AI crawlers: Bytespider, CCBot, Diffbot, 360Spider, YandexDataCollector, Amazonbot, DataForSeoBot, CensusBot
  • AI tools and generators: AI2Bot, AIEngine, AISEO, AIWriter, KomoBot
  • Data-collection frameworks matched here too: Omgili, Scrapy, Crawlera, Nutch, Dataminr

Matching is case-insensitive and done on substring of the User-Agent header, so a crawler advertising itself as Mozilla/5.0 (compatible; GPTBot/1.2; ...) is caught by the GPTBot entry.

Block bad bots

A curated denylist of scraper and vulnerability-scanner user agents. Updated with the panel.

Show the full list of blocked bad-bot user agents
  • SEO crawlers: PetalBot, MJ12bot, DotBot, BLEXBot, ZoominfoBot, SEOkicks, SeznamBot, linkdexbot, Sitebulb, Lighthouse, Majestic, OpenLinkProfiler, LinkpadBot, RankActiveLinkBot, Nibbler, Pagespeed, SEOlytics, SEOENGBot
  • Generic HTTP clients and scrapers: curl, wget, python-requests, aiohttp, httpx, libwww-perl, Scrapy, HTTrack, ApacheBench, URLGrabber, Feedly, Go-http-client, okhttp, RestSharp, Java, phpcrawl, WinHTTP, Mechanize, Crawlera
  • Site rippers and email harvesters: EmailCollector, EmailSiphon, EmailWolf, ChinaClaw, WebCopier, Download Ninja, Teleport, WebZIP
  • Reputation and marketing crawlers: DataMiner, NetcraftSurveyAgent, CheckMarkNetwork
  • Empty or missing User-Agent header (common for lazy scrapers and spoofed clients)
Matching is case-insensitive. A visitor whose User-Agent is curl/8.1 is caught by the curl entry even though their real request started with a different word.

Redirects

Panel-managed redirects per site. Add a from-path, a to-URL, and a status code (301, 302, 307, 308). Written as one-line location = /from { return 301 https://to/; } blocks at proxy reload.

Alias Domains

Serve the same site on multiple domains. Each alias gets its own Let's Encrypt certificate automatically. Add a domain, hit Save, and the site is reachable at the new name as soon as DNS points at your server.

IndexNow

Opt the site into IndexNow, the shared protocol Microsoft Bing, Yandex, Seznam and a growing list of other engines use to pick up new and changed URLs within minutes instead of waiting for their crawler to come around. Turn the toggle on and the panel does three things: generates a random API key, drops the <key>.txt verification file in the site's public/ folder, and schedules a daily job that submits only the URLs you have added, updated, or deleted since the last run. Removed URLs are submitted too, so a page you unpublished is flagged for de-indexing rather than left to age out.

IndexNow is one submission that fans out to every participating engine; you do not have to register with each one separately. Google is not in the IndexNow consortium and keeps using its own sitemap / crawler path, so submitting here is additive to a Google Search Console sitemap rather than a replacement for it.

Website Cache

Enables proxy-level HTML caching. When on, repeat requests for the same page are served from memory without touching PHP, which dramatically reduces load.

  • Excluded Pages, Cookies, Query Strings: comma-separated lists. Supports .* wildcards. Entering /cart.* excludes /cart and anything under it.
  • WordPress Cache Helper: installs a mu-plugin that automatically purges the cache when you publish, edit, or delete a post, change a theme, or activate a plugin. A Web Cache dropdown also appears in the WP admin toolbar for manual purges.
The SEO Tools tab: the crawler toggles for AI agents and bad bots, the Website Cache card with its excluded pages, cookies and query strings and the WordPress Cache Helper, and the redirects list below it

Clearing the cache

The Clear button is a dropdown with two options:

  • Clear All: wipes every cached entry for the site.
  • Custom: opens a modal where you can paste URL patterns, one per line. Patterns support * as a wildcard and are matched against the full cached URL. Examples:
    • /cart matches that exact page on any domain.
    • /products/* matches every page under /products/.
    • /wp-content/uploads/*.jpg matches all JPEGs in uploads.
    • example.com/* matches everything on example.com.
    • *.example.com/* matches every subdomain of example.com.
You can also trigger a purge from outside the panel by sending an HTTP PURGE request to https://yourdomain.com/purge/[path-to-purge].

Analytics

Per-site visitor stats sampled from the proxy's access log. The dashboard shows visitors, pageviews, bandwidth, top pages, top referrers, and country breakdown.

  • Compare mode: tick the Compare box to see this period next to the one before it, with a percentage change on each stat.
  • Custom date range: pick any start and end date.
  • Hover for the raw number on any point of the line chart.
The Analytics tab for a site: visitors, bandwidth, requests and average time on site, a visitors chart with the previous period overlaid, the HTTP status code split, and the top pages and referrers

Backups

Per-site backup schedule and restore. Backups cover the site's files plus any linked databases. Weeklies are self-contained; dailies are incrementals that chain back to the last weekly.

Restore

Pick any backup and put it back. Two shapes:

  • Whole site: restores the site to exactly how it was on the backup's date. The panel walks the chain from the last full backup up to the one you picked, applies each in order, and your site ends up at that exact state.
  • Selective files: the file picker shows every file that was on your site as of the backup date, not just files that changed in the specific archive. Restoring one unchanged file only reads the single older archive that contains it, not every archive since.
The restore dialog: picking individual files and folders out of a backup, with the site name typed to confirm

If the archive has already been purged locally (because you turned on Delete local files after remote transfer), the panel fetches it back from your configured remote target (S3, SFTP, or rsync) and streams the restore from there.

Web SSH Terminal

Opens a shell session inside the site's own container. From there you can run composer, npm, wp-cli, ffmpeg, git, and any other tool the base image ships. You cannot leave the container, so there is no way to touch another site's files or any system-level config.

The web terminal open on a website: a shell session running inside that site’s own container, listing the files in its home directory

Disabling the terminal

Owners can disable the Web SSH Terminal for customers from any package at Settings > Packages. Look for the SSH Terminal checkbox under Files and Container. Unticking it removes the Terminal option from the kebab for every site on that package.

WordPress Toolkit

WordPress sites get a dedicated WordPress tab with the common admin tasks you would otherwise do by SSHing in or logging into wp-admin.

  • Core: current version, one-click update, Reinstall Core.
  • Cache tools: clear all caches, clear transients, flush permalinks.
  • Search & Replace URLs: safe bulk rewrite for site moves.
  • Plugins: activate, deactivate, update, search, delete. Install from the WordPress.org directory inline.
  • Administrators: list every WP admin account on the site. Each has a Login button that signs you straight into wp-admin as that user, no password needed.
  • Runtime toggles: Maintenance Mode, WP_DEBUG, Debug Log, Debug Display. Each toggle has a plain-English explainer.
The WordPress tab for a site: the core version with an update waiting, the maintenance and runtime tools, the site’s administrators, and every plugin with its own update

Malware

Per-site malware scanning, started from the site's Malware tab. Each scan runs two engines one after the other, Linux Malware Detect and then ClamAV, so a file has to get past both to be considered clean.

The Malware tab part way through a scan: the stage pipeline from warm up through the LMD and ClamAV passes, a live file count with elapsed and remaining time, the whitelist below it, and the scan history underneath

While a scan runs, the tab reports the stage it has reached (warm up, enumerate, the LMD pass, then the ClamAV pass) along with how many files it has covered out of the total, how long it has been going, and roughly how long is left. A long scan can be canceled part way without waiting for it to finish.

Whitelisting a finding

Not every hit is something you want removed. A false positive can be whitelisted, and the entry records both the signature that fired and the exact file it fired on, so whitelisting one image does not excuse the same signature elsewhere on the site. Whitelist entries are listed on the same tab and can be re-checked or deleted later.

Scan history

Every completed scan is kept with the date it ran, how long it took, how many files it covered, and how many findings it produced, so you can see whether a site is getting hit repeatedly or was clean the last few times.

System Resources

Shows what the site is using right now and where its caps are. The processes list, disk, bandwidth, database size, and backup usage are all taken from one reading of the container, so the numbers always agree with each other.

The System Resources tab for a website: the processes running inside its container, its disk, bandwidth, database and backup usage, and its resource caps

Resource Limits

Per-site caps for CPU and memory, enforced by the container runtime. One busy site cannot starve its neighbors on the same host.

Security

One tab for everything that guards the site: its certificate, the Basic Authentication prompt, and the per-site IP and bot blacklists.

The Security / SSL tab for a site: the certificate with its issuer, subject and validity dates, the Basic Authentication toggle, and the IP and bot blacklists

IP and Bot Blacklist

Block visitors by IP address or by bot user agent. Entries added here apply only to this site, not globally. Add the value, click Ban, and the proxy returns 403 to matching requests from the next reload onwards.

Basic Authentication

Protect the entire site behind a username and password prompt. Useful for staging sites and private review environments. You can add specific IP addresses that bypass the prompt, so your office or a client's IP can reach the site without typing credentials.

SSL Certificate

View the current certificate's issuer, subject, validity window, and expiry countdown. Click Renew to force a renewal; the panel refuses renewal requests outside the renewal window to avoid rate-limit hits.

Transfer Ownership

Move a site from one account to another without recreating it. The site's uid, files, databases, backups, and DNS records all move together.

Transfer Ownership is Reseller-and-above only. The target account must be reachable by the caller (a Reseller can only transfer to their own subtree).

Disable and Enable

Disable serves a polite "temporarily offline" holding page instead of the site, and tells search engines not to de-index via response headers. SSL keeps working, the domain keeps resolving, and the site returns the moment you re-enable it. Useful for taking a site down for maintenance or non-payment without actually removing anything.

Delete a website

Removes the container, its files, and the panel row. Linked databases and backup rows are swept too so they do not appear in the Users-page counts as orphans.

Delete is permanent. If you have remote backups configured, they stay on the remote target per your retention policy, but the panel has no shortcut to restore a deleted site. Export first if you might want it back.

Overview

The Domains page is where you add zones, edit records, and run your own authoritative DNS from inside the panel. Each zone you add is served live by Heimdall DNS, the panel’s own authoritative nameserver, with zone files written locally and replicated to every other DNS-enabled server in your fleet. What shows up in the list depends on your role:

  • Owners and Super Administrators see every zone in the fleet.
  • Support accounts see every tenant zone.
  • Resellers see every zone owned by themselves or a Customer in their subtree.
  • Customers see zones they own, plus zones their Collaborators have added for them.
  • Collaborators see only zones attached to a site their parent Customer has granted them.
The Domains page: a card per zone with its record count, query count and a 24-hour sparkline, above the DNS records table for the selected zone Domains and DNS only appear once at least one server in the fleet has the DNS role enabled. If no server has it on yet, the Domains page shows a card pointing you at Servers instead of an empty list.

The Domains list

The toolbar lets you switch between a card view (grid with sparklines) and a list view (table). Your choice is remembered per browser. Each row shows:

  • Domain, with a shield badge next to zones that have DNSSEC active.
  • Status: Active or Disabled.
  • Records: the total record count in the zone.
  • Queries: last-24-hour query count with a 24-point sparkline sampled hourly from the local nameserver's metrics.
  • Updated: date of the most recent record change.

Click Refresh on the toolbar to force a reload. The sparkline and the record counts refresh with the page.

Add a domain

Click Add domain to open the Add Domain modal. One field, one button.

  1. Enter the domain. The panel trims whitespace, lowercases, and strips leading http:// or https:// and any trailing slash before validating.
  2. Panel validation checks a syntactic regex for the domain name, that it is not on the shipped banned-domains list, that at least one nameserver hostname is configured in Settings > Nameservers (DNS), that no other tenant on the panel already owns the apex, and that you have not hit your package's max_domains cap.
  3. On save the panel creates the zone file, seeds a fresh SOA record and one NS record per configured nameserver, writes it to the local DNS daemon via unicorn <role> import-zone, reloads the daemon, and pushes the exact same zone body to every other DNS-enabled server in the fleet.
The Add domain dialog, which asks only for the domain name If any of your DNS servers are offline when you add a zone, the modal shows a yellow pre-flight banner naming them. The zone still publishes to every reachable DNS server right away, and the offline ones catch up automatically once they come back.

DNS Records editor

Each zone has a records table underneath the main list. Click a row's kebab and pick Manage Records to jump straight to it. Add Record and Edit Record use the same modal.

The Edit record dialog for an MX record: the type, its TTL, a one-line explanation of what the type does, then the name, priority and value fields

Supported record types

UPCP's DNS editor supports:

  • A and AAAA: IPv4 and IPv6 addresses, validated with filter_var FILTER_VALIDATE_IP.
  • CNAME: alias to another hostname.
  • MX: mail exchanger. A Priority input appears automatically; the default is 10.
  • TXT: free-form text up to 4096 bytes. The panel strips embedded quotes and newlines, then auto-chunks the value into 255-byte segments when it is longer than one DNS string.
  • SPF: must start with v=spf1. Allowed mechanisms are all, include, a, mx, ip4, ip6, exists, ptr.
  • NS: delegate a subzone.
  • SRV: service record. Priority is accepted from the UI; weight and port are kept at 0 when added from the modal.
  • CAA: issuer policy. Format <flags> <tag> "<value>", tag must be issue, issuewild, or iodef.
  • PTR: reverse DNS pointer.

The SOA record is managed by the panel. Every time the zone is edited the serial is bumped automatically; you never need to touch it. Because the SOA is the zone's authority record and editing or deleting it would wedge DNS for the whole domain, the row is intentionally read-only: the Edit and Delete buttons do not appear next to it.

Field rules

  • Name: @ for the apex, a subdomain label like www, or a wildcard like *. Allowed characters: letters, digits, -, _, ., *.
  • TTL: operator-settable between 60 and 86,400 seconds. The default is 3600.
  • Value: each type has an inline example in the placeholder. Content is validated per-type and the modal surfaces a plain-English error if the value is wrong (for example Invalid IPv4 address. or Invalid CAA content.).

Saving changes

Every Add or Edit regenerates the full BIND zone file, bumps the SOA serial, writes it atomically to the local DNS daemon, reloads the daemon in place (Heimdall takes a SIGHUP, so no queries are dropped), and pushes the new zone body to every other DNS-enabled server in your fleet. Downstream resolvers obey the record's TTL at their cache; the authoritative layer picks the change up within about a second.

Import a zone

Click Import a Zone on the toolbar. The modal accepts:

  • Drag and drop a .zone file.
  • Click to browse and pick one.
  • Ctrl / Cmd + V paste the zone text or the file itself while the modal is open.
The Import zone dialog: drop a file, browse for one, or paste a zone, with a warning that existing records for the zone will be replaced

The parser handles standard BIND syntax, including $ORIGIN and $TTL directives, multiline SOA parens, multi-string TXT, and inline comments. It picks up the zone origin from the file's $ORIGIN directive, a Cloudflare-style header (;; Domain: example.com), a BIND ; BIND data file for example.com header, or the filename as a fallback.

Record types the importer accepts: A, AAAA, CNAME, MX, TXT, PTR, SRV, NS, SPF, and SOA (the panel's own SOA is used after import). CAA and DNSSEC-signalling records (DNSKEY, DS, RRSIG, NSEC) in the source are silently skipped.

Imports replace any existing zone data for that domain. The modal states this up front. Zone-file size is capped at 500 KB.

Export, Check, and other row actions

A zone’s row menu: Manage Records, Add Record, Check Zone, Export Zone, DNSSEC, Transfer Ownership and Delete Zone

Every domain row has a kebab menu with:

  • Manage Records: scrolls to and selects that zone's records table.
  • Add Record: opens the Add Record modal for that zone.
  • Check Zone: runs an internal validator and reports a breakdown of record counts by type, the 24-hour query total, the current SOA value, and either Internal checks passed. or a line-by-line list of any issues.
  • Export Zone: downloads the current authoritative zone file in BIND format as <domain>.zone.
  • DNSSEC: opens the DNSSEC panel (see below).
  • Transfer Ownership: hands the zone to another account. The zone files, DNSSEC keys, and any attached websites or mailboxes stay in place; only the owning account changes. Reseller and above only.
  • Delete Zone: permanently removes the zone and all its records. Hidden for Collaborators.

DNSSEC

Zones can be signed with DNSSEC. Signing happens on the primary panel and the signed overlay is pushed to every Heimdall nameserver automatically.

The DNSSEC dialog for a signed zone: the DS records to publish at your registrar in both SHA-256 and SHA-384, with the algorithm, key tags, last update, signature expiry and next ZSK rotation

The DNSSEC modal has three states for every zone:

  • Disabled: no keys generated yet. Click Generate Keys to create the KSK and ZSK.
  • Keys ready: the panel shows the DS record values (both SHA-256 and SHA-384 digests) and a Copy button. Publish those at your registrar. A confirmation checkbox gates the Enable button so you cannot flip the zone to signed before the DS record is actually at the TLD.
  • Active: the signed overlay is being served to resolvers. The modal reminds you to remove the DS record at the registrar at least 24 hours before you disable DNSSEC, and gates the Disable button on an acknowledgement checkbox so you cannot create a broken trust chain by accident.

ZSK rotation is automatic on a scheduled cron, so you do not need to touch keys after the initial setup. A zone with DNSSEC active is served signed.

Nameservers (Settings > Nameservers (DNS))

This is where you tell the panel what hostname each DNS server should answer to. One row per DNS-enabled server in the fleet.

Settings, Nameservers (DNS): each DNS server with its IP and the public hostname assigned to it, and a check confirming the hostname resolves back to that IP

Each row has:

  • Server: the server's panel name and public IP.
  • Nameserver hostname: the hostname this server should answer as, for example ns1.myhosting.com.
  • Check: a live lookup. The badge reads ✓ Match when the hostname's A/AAAA at a public resolver matches the server's IP, ⚠ Mismatch when they disagree, or ⚠ No DNS record yet when the hostname has not propagated.

The alphabetically-first assigned hostname becomes the SOA MNAME on every zone. Save & Apply re-stamps every zone with the current nameserver set and reloads the daemons.

Private nameservers only work once your registrar publishes the glue (A/AAAA at the TLD) for them. The panel validates that each hostname resolves to its server's IP, but it cannot create glue for you.

Multi-server DNS and replication

UPCP's DNS is replicated, not master/slave. Every DNS-enabled server in the fleet is authoritative for the same zones; the panel is the source of truth and pushes the full zone file to every DNS server on every change.

  • Set up a second DNS server by installing UPCP on it, joining it to your fleet from Servers > Register Server, and enabling the DNS role on it from the server's Roles page.
  • Open Settings > Nameservers (DNS), assign that server its hostname (for example ns2.myhosting.com), then click Save & Apply. The panel re-stamps every existing zone with the full nameserver set and pushes zones to the new server.
  • At your domain registrar, publish A/AAAA glue records for your private nameservers (for example ns1 → first server IP, ns2 → second server IP). Then update your TLD's registrar record to point the delegated domain at ns1.myhosting.com and ns2.myhosting.com.
No manual zone-transfer configuration is required. There is no master, no slave, and no TSIG. The panel pushes zone bodies over its own authenticated API; every DNS server is interchangeable.

Query metrics

The sparkline next to each zone, and the overall Queries count on the row, come from the DNS daemon's own metrics. Heimdall writes a metrics.json snapshot every 30 seconds, which the panel normalizes into an hourly 24-point series so you can spot a sudden spike or dropoff at a glance.

Integrations

Other panel features that touch DNS:

  • Websites: creating a site on a domain the panel owns auto-adds @ A (and AAAA if the server has IPv6) plus www CNAME @ for the apex, or <sub> A for subdomain sites, pointing at the target web server's IP. Records you added manually at the same name are left alone.
  • Hermes mail: the mail stack publishes DKIM public keys via unicorn ues dkim-record <domain>. The Mail page shows the exact mail._domainkey TXT value to paste into the DNS editor.
  • Alias Domains: adding an alias to a website that lands on a domain the panel does not already own creates a brand-new zone with the same safeguards as Add Domain.

Disabling DNS on a server

Turn the DNS role off on a server from its Roles page under Servers. The DNS container stops; existing zones are not deleted, and the panel keeps serving them from any remaining DNS-enabled server in the fleet. When you turn DNS back on (on the same server or a new one), the panel automatically pushes every zone to it on first boot so it comes online fully populated.

If every DNS role in the fleet is disabled, the Domains page returns to the empty-state card and the Add Domain button hides. Zone data stays in the panel database and comes back the moment a DNS role is re-enabled anywhere.

Deleting a zone

Clicking Delete Zone opens a confirmation modal that requires you to type the domain name. On confirm, the zone row is removed, the zone file is deleted on every DNS server in the fleet, and any DNSSEC keys for the zone are discarded.

Delete is permanent. There is no soft-delete, no retention, no undo. If a website still points at the deleted zone, the site keeps working at the IP level but queries for its hostname will NXDOMAIN until you re-add the zone.

Overview

The Databases page is the fleet-wide view of every database the panel manages across every server. Each row shows the database name, engine, server, owning account, size, and the website it is linked to (if any). The toolbar carries search by name or engine, filter by engine, and the Add database button.

Four engines are supported, enabled per server via the Roles tab:

  • MariaDB: the default relational engine. Full user and privilege management, dumps and restores through the panel.
  • MySQL: Oracle MySQL as an alternative to MariaDB. Same per-database user model and admin tooling.
  • PostgreSQL: role-based auth, pg_dump / pg_restore paths, phpPgAdmin for interactive admin.
  • Mimir: a per-tenant single-user SQLite-shaped service that an app can use when it just needs a scratch database with no multi-tenant surface. Auto-created at site-birth from a sidecar container, so it does not appear in the Add Database modal; it shows up under the owning website and offers a trimmed kebab (no user management, no phpMyAdmin login).
The panel keeps a mirrored view of every host's database list so the fleet is one search box away. Database size on the row refreshes nightly from a per-engine size query; row-level actions always run against the live engine on the owning host, so a size that is a few hours stale on the dashboard never leaks into a destructive operation.

Add a database

Add database on the toolbar opens the create modal:

The New database dialog: the target server picked from the hosts that have a database role, the engine chosen from MariaDB, MySQL or PostgreSQL, then the database name, username, a generated password and the privileges to grant
  • Database name: the schema name. Panel namespaces the name under the owning account to avoid collisions across tenants on the same engine.
  • Username and Password: the first user that owns the database. A password-strength meter shows while you type; the Create button only lights up when every required field is set and the chosen server is online.
  • Server: filtered to hosts that have at least one database role enabled. Servers that are offline still show up (greyed) so you can see they exist; Owner / SuperAdmin / Support see cordoned (placement-disabled) servers too, with a hint on why they are flagged.
  • Engine: the engine role to use on that server. The modal auto-picks the first engine the server has enabled; switching the server updates the engine list.
  • Privileges: default is All privileges on the new database for the new user. Toggle off to pick individual grants (SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, INDEX, EXECUTE, LOCK TABLES, REFERENCES, TRIGGER, and the engine's equivalents on PostgreSQL).

The kebab menu

Every database row has these actions in its kebab (gated per engine; Mimir hides the user and admin-tool items):

  • Login to Adminer: opens Adminer in a new tab, already authenticated against the right engine, DB, and user. Works for every engine (MariaDB, MySQL, PostgreSQL, Mimir).
  • Login to phpMyAdmin (MySQL/MariaDB): same one-click flow but into phpMyAdmin.
  • Login to phpPgAdmin (PostgreSQL): same for the Postgres admin tool.
  • View tables: a modal with the table list, row counts, and per-table size so you can scan a database without launching an admin tool.
  • Link to website: ties this database to one of your sites. Linked databases show up on the site's Linked Databases tab and are duplicated by the Clone flow if the operator opts into DB cloning.
  • Add user / Remove user: additional users on the same database (useful for an app that needs separate read-only / read-write credentials). Collaborators have Remove user hidden.
  • Change password: for the primary user. The new password is validated against the same strength meter the create flow uses.
  • Download: streams a mysqldump / pg_dump through the browser as a .sql file. Dumps go through the unicorn streaming daemon so multi-GB databases do not blow up PHP memory.
  • Import backup: upload a .sql, .sql.gz, or .zip dump into this database. Supports partial restores; a parse error on one statement does not roll back the whole import.
  • Transfer Ownership: hands the database to another account (Owner / SuperAdmin / Support / Reseller only). The database and its data stay in place; only the owning account changes.
  • Delete: drops the database on the engine and removes the panel's row. Collaborators cannot delete; everyone else gets a type-the-name-to-confirm modal before it fires.

Admin tooling (Adminer, phpMyAdmin, phpPgAdmin)

The panel ships three bundled database admin tools, all available via the kebab's Login to… items:

  • Adminer: a single-file PHP admin tool that works against every supported engine. Lightest of the three; recommended for quick lookups.
  • phpMyAdmin: the full-fat MySQL/MariaDB tool. Supports advanced features (triggers, stored procedures, binary-log views) that Adminer collapses into one screen.
  • phpPgAdmin: the equivalent for PostgreSQL. The Login to phpPgAdmin item only appears when the row's engine is PostgreSQL.

All three ship with the panel; there is no separate install step. Login is single-signon against the row's own credentials, so no password re-entry is needed.

Linked databases

A database that has been linked to a website (via Link to website, or auto-linked when the website wizard creates it) appears on the site's Manage > Linked Databases tab alongside the direct Adminer / phpMyAdmin / phpPgAdmin links. Linked state also drives:

  • The Clone wizard's Clone linked databases toggle: picks the right source databases to duplicate and auto-rewrites their wp-config.php / .env references on the destination.
  • Disk-usage reporting: the linked database's size is added to the site's disk total so the Overview tab shows the full footprint.
  • Delete-site safety: deleting a site warns if linked databases exist and offers to drop them in the same flow.
A database can be linked to at most one website at a time. Linking a database that is already linked somewhere else re-links it; the previous site loses the row from its Linked Databases tab but the database itself (and all its data) stays untouched.

Overview

The Emails page is the fleet-wide mailbox manager. Create and remove mailboxes, change passwords, set quotas, manage aliases and forwarders, set a vacation responder, view the DKIM record each mailbox needs in DNS, and import mail from another server. Every mailbox lives on exactly one host (the server you placed it on) and the panel keeps a mirrored view of every host's mail state so the fleet shows up in one list.

Mail is powered by Hermes, a single privilege-separated mail server written in C that replaces Postfix, Dovecot, rspamd, and ClamAV. SMTP, IMAP, anti-spam, and antivirus live in one suite. Enable the Hermes Mail Suite role on at least one server (Servers > the server > Roles) before the Emails page can accept new mailboxes; once the role is on, a Settings > Hermes Mail Suite entry appears for the fleet-wide tuning (anti-spam thresholds, greylisting, smarthost, and so on, all documented at the bottom of this page). Hermes is IMAP-only. There is no POP3. POP3 is not implemented, not disabled-by-default, and port 110 is never opened. A client configured for POP3 will not connect, so set up mail clients with IMAP.

Names you will meet

The mail stack carries one product name and a couple of shorter internal ones. They all refer to the same thing:

  • Hermes is the product name, and the one this documentation uses throughout.
  • Hermes Mail Suite is the literal label in the panel, on the role toggle and on the Settings entry. It is the same thing as Hermes.
  • umail is the internal name you see on disk and in a process list: the container, the service, and the binaries (umail, umail-imapd, umail-smtpd) are all named after it.

There are two command-line tools, and they are not interchangeable:

  • unicorn ues … is the panel's CLI group, run on the host. Use it for anything the panel owns, such as unicorn ues dkim-record <domain>.
  • umailctl is Hermes's own tool, run inside the mail container. Use it for things only the mail server knows about, such as training the Bayesian filter.

Mailboxes

Each row on the Emails page is one mailbox, with its address, the server it lives on, quota usage, last-login time, and a kebab menu. The Add Mailbox button on the toolbar opens the create modal; a plan-level cap (the mailbox count on your package) disables the button once you reach it with an explanation of why.

Creating a mailbox asks for:

  • Address (name@domain) and password. The domain picker is scoped to the domains you have access to, and the input previews the address as you type.
  • Server, filtered to the hosts where the Hermes role is enabled. If only one server has mail enabled it is pre-selected.
  • Quota, in megabytes, with a default pulled from your package. 0 means unlimited for operators whose plan allows it.
  • Set up DNS, which writes the required MX, SPF, and DKIM records into the panel's DNS if the mailbox's domain is on-panel. If the domain lives elsewhere, the modal shows the records you have to add yourself.

The kebab menu

Every mailbox row has these actions in its kebab:

The Emails page with one mailbox’s kebab menu open, showing every per-mailbox action from Login to Roundcube through to Delete
  • Connection settings: the IMAP and SMTP hostnames + ports to put into a client (Outlook, Apple Mail, Thunderbird), with STARTTLS and implicit-TLS options. The hostname shown respects any Multi-Hostname cert the account has set up (see below), so a reseller on a brand-aligned mail hostname sees that one instead of the panel default.
  • Change password, Set quota: the common edits, no DNS or server changes.
  • View DKIM key: the mail._domainkey TXT record to publish for the mailbox's domain. On-panel domains have it already; this view is for operators to grab it when they need to paste it into a third-party DNS.
  • Aliases: additional addresses that deliver into this mailbox (support@domain → sales@domain, for example).
  • Forwarders: external addresses that receive a copy of each incoming message. Hermes keeps the original envelope sender on the forwarded copy and guards against loops with a Delivered-To trace header, so a message that already carries one is stored rather than forwarded again. Forwarding does not rewrite the sender. Because the copy leaves from your server while still claiming the original sender, the receiving side usually sees an SPF failure unless it already trusts your server as a forwarder, which can take forwarded mail into spam or make it fail DMARC. Where deliverability matters more than convenience, have the user collect the mail over IMAP instead of forwarding it on.
  • Vacation responder: an autoresponder with a subject, body, start/end dates, and per-sender rate limiting so the same correspondent gets at most one bounce reply per day. Reconciled across the fleet by a cron so a vacation set from the panel always matches what Hermes serves.
  • Spam defaults: per-mailbox tuning on top of the server's spam scoring. Four one-click presets: Relaxed (fewer false alarms, raises the tag and reject thresholds), Standard (the server default, no override), Strict (catches more spam, lowers the thresholds), and Custom (type the exact tag and reject scores yourself). The modal shows the live server-wide defaults next to each slider so the numbers always match reality, and switching back to Standard clears the override entirely.
  • Whitelist: per-mailbox allowlist of sender addresses or domains that bypass spam checks (greylisting included).
  • Transfer Ownership: hands the mailbox to another account. Only the owning account changes; data stays in place.
  • Delete: removes the mailbox and its mail. Confirmed before firing.

Importing mailboxes

The Import Mailbox button on the toolbar opens a job-driven importer that pulls mail from any IMAP server (another panel, cPanel, Workspace, a self-hosted Dovecot) into a Hermes mailbox on the chosen host. Supports bulk import (one row per source account) with per-row credentials, folder-mapping, and resumable sync; the Resync action in the row's kebab re-pulls just the diff since last sync. A per-row Resync lives on the active job's row so you can poke a slow import without re-entering credentials.

Multi-Hostname (SNI)

By default every mailbox's connection settings point at the server's own hostname (the one you set at install). A reseller can issue a brand-aligned mail hostname (typically mail.<their-domain>) and have Hermes present a matching certificate on IMAP and SMTP via SNI, so their mailboxes advertise their hostname in Outlook rather than the operator's. Found inside the Connection Settings modal when the package covers the mail server; the modal probes /api/ues/hermes-hostnames and only renders the control when the operator can act on it.

Issuing a hostname cert from the modal:

  • Preflights that mail.<domain> (or whatever hostname the operator picks) resolves to this server. On-panel domains have the A record written automatically; off-panel domains must have DNS in place first, and the Issue button is disabled with an explanation until it does.
  • Fires ACME against Let's Encrypt and installs the resulting cert as <hostname>.cert.pem on the server. Hermes picks it up without a restart.
  • Rewrites the MX record if (and only if) the chosen hostname is brand-aligned (mail.<domain>) AND the existing MX was empty or already pointed at a panel-managed hostname. External MX targets (Google Workspace, SES, Mailgun) are deliberately left alone so a cert issue cannot accidentally hijack a third-party mail flow.

Domain aliases

A hosted domain can be made an alias of another, so every address at the alias domain is received as the same local-part at the primary. Mail to anyone@old-domain.com lands in anyone@new-domain.com's mailbox, using the primary's quota, Sieve rules, catch-all and aliases. The alias domain needs no mailboxes of its own. This is the usual way to fold a vanity domain, or one left over from a rebrand, into the mailboxes you already run.

Not to be confused with Websites > Alias Domains, which serves one website on several domains. This is the mail equivalent and the two are set up separately.

Aliasing is set per domain in the mailbox tree rather than on the Emails page. In the mail container, give the alias domain a directory and a _root.conf naming its target:

# /etc/umail/mailboxes/old-domain.com/_root.conf
domain old-domain.com {
    alias-of new-domain.com
}

Chains are followed, so a pointing at b pointing at c delivers to c, and loops are rejected rather than followed. If one message is addressed to both an alias and its primary, the recipient set is de-duplicated and a single copy is stored.

Aliasing is receive-side only. It does not let anyone send as the alias domain: that needs the alias domain to have its own DKIM key and DNS. A user whose mail arrives via an alias still sends from the primary address.

Each alias domain still needs its own DNS, exactly as if it hosted mailboxes directly: an MX pointing at this mail host, plus its own SPF and DMARC records. Run umail check <domain> inside the mail container to confirm the alias target resolves and the records are in place.

Webmail

Roundcube is installed on every server with the Hermes role, but it has no address of its own. There is no /webmail/ path on the server hostname and none on a customer's own domain. The only way in is through the panel: open Emails, find the mailbox, and pick Login to Roundcube from its kebab menu. You land in the inbox already signed in, with no second password prompt, and it works the same whichever server in the fleet the mailbox lives on.

Someone who would rather use a desktop or phone client takes Connection settings from the same menu instead, which gives them the IMAP and SMTP hostnames and ports to enter.

Because webmail is reached through the panel, a mailbox owner needs a panel account to use it. There is no standalone webmail sign-in for an end user who only has mailbox credentials.

The Mail Suite's DKIM, SPF and DMARC verdicts travel with each message as headers (X-Spam-Status, X-DKIM-Signature and so on), so they are there for triage in Roundcube or in any other client.

Mail hygiene audit

Open Tools on any server with the Hermes role and run Mail hygiene audit. It dig-checks SPF, DKIM, DMARC, MX, and PTR for every domain hosting mailboxes on that server and reports the gaps, so a tenant whose mail went into Gmail's spam folder because their SPF is wrong gets a clear diagnosis in one click.

Hermes Mail Suite settings

Hermes replaces Postfix, Dovecot, rspamd, and ClamAV with a single privilege-separated mail server written in C. SMTP, IMAP, anti-spam, and antivirus in one suite.

Once you have enabled Hermes, you can find its settings under Settings -> Hermes Mail Suite. The page is the fleet default: save a value here and every Hermes-enabled server picks it up on the next cron tick.

A specific server can be made to differ from the fleet default without unsticking the rest of your mail hosts. Open Servers > the server > Settings > Hermes Mail Suite. The fields on that page show this server's current effective Hermes settings: the fleet defaults with any per-server overrides already applied. Change a field there and it is pinned on that server only; any field you leave matching the fleet default keeps following the fleet, so a later edit on the fleet page still flows through. Useful for a single high-volume outbound server that needs wider spam thresholds than the rest of the fleet, or a quarantined host where you want greylisting tighter.

To see how the fleet actually disagrees today, open Settings > Tools > Compare Hermes Configuration. It scans every Hermes-enabled server and highlights the setting values that differ from the fleet default, so a drift introduced by a per-server override (or a stale host that missed a cron tick) is a single click to spot.

Greylisting

Greylisting temporarily rejects mail from unproven senders and accepts it only when they retry. Legitimate mail servers always retry a temporary failure; most spam-sending bots do not. It's a near-zero-cost filter applied before scoring, on the inbound :25 listener only.

What a deferral looks like

A greylisted message is deferred after DATA (Hermes receives the full message, then defers) with:

451 4.3.0 Temporary failure, try again later

A conforming sending MTA re-queues and retries; on the retry after the delay, the message is accepted. In the logs the action is recorded as greylist, and a msg_greylisted metric is incremented.

Exemptions; who is not greylisted

Greylisting is skipped entirely for:

  • SPF-passing senders: an SPF pass proves the sending IP is authorized.
  • DKIM-passing senders: a valid signature makes the sender accountable.
  • Allowlisted senders: any address matched by a mailbox's (or domain's) allow-sender / allow-domain bypasses spam checks, greylisting included.

The rationale for the SPF/DKIM exemption: greylisting exists to stall bots that never retry, and large providers retry from rotating IP pools that defeat naïve triplet greylisting anyway, so deferring them only adds latency. RBL, Bayes, and scoring still apply to those senders; only the greylist step is skipped.

Incoming Spam

Hermes scores each inbound message on :25 and takes one action based on the total score: deliver, tag (deliver to the user with X-Spam-* headers so a Sieve rule can file it to Junk), or reject (554, never queued). Each check below contributes to that score; you enable the checks you want and set the two thresholds that decide tag vs. reject.

The master switch spam on is required. With it off, none of the checks below run.

FeatureWhat it does
Enable anti-spamMaster switch. Must be on for any inbound scoring.
Check DNS blacklists (RBL)Look the connecting client IP up in the configured DNS blocklists.
RBL zonesA DNSBL zone to query, e.g. zen.spamhaus.org. Repeatable: add one line per zone. Only used when spam-rbl on.
Check URIBLExtract URLs from the message body and look their domains up in URL blocklists.
URIBL zonesA URIBL/SURBL/DBL zone, e.g. dbl.spamhaus.org or multi.uribl.com. Repeatable. Only used when spam-uribl on.
Require Forward-Confirmed reverse DNSVerify the client's PTR record forward-resolves back to the connecting IP (FCrDNS). A mismatch adds to the score.
Bayesian filterStatistical token classifier over headers and decoded body. Trained from Junk-folder moves and umailctl.
Heuristic rulesRule-based structural/header checks (malformed headers, suspicious MIME, envelope/From mismatches, etc.).
Fold in upstream verdictsParse an upstream filter's header, SpamAssassin (X-Spam-Status / X-Spam-Score) or rspamd (X-Spamd-Result), and fold its score into ours. Only a positive upstream score is added; a negative one is treated as 0, so an upstream "ham" verdict can never pull a message below Hermes's own assessment.
Tag-as-spam thresholdAt/above this score the message is tagged: delivered with X-Spam-* headers so a Sieve rule (e.g. the default spam→Junk rule) can file it.
Reject thresholdAt/above this score the message is rejected at DATA with a 554 and never queued.

Scoring model. Every enabled check adds (or, for authentication passes, subtracts) points. The running total is compared to the two thresholds: score < tag → deliver clean; tag ≤ score < reject → tag; score ≥ reject → reject. Keep spam-tag-score < spam-reject-score. SPF/DKIM/DMARC results are always evaluated and factored into the score even when the corresponding blocklist checks are off.

Resolver note. RBL and URIBL rely on DNS. Query them from a non-public recursive resolver (or a Spamhaus DQS key). The free public zones refuse queries via large shared resolvers and return error codes, which Hermes correctly treats as "not listed" rather than a hit.

Outbound Spam

Outbound spam control is about containing a compromised account, not filtering a legitimate user's individual message. Authenticated submission is scored on content alone (greylist/RBL don't apply to authenticated senders) in detect-only mode (a message is never blocked) and a mailbox that sustains a burst of spammy messages can be automatically suspended.

FeatureWhat it does
Scan outbound mail for spamScore authenticated submission on content and log an outbound-scan … score=… SPAMMY/clean line per message. A message at/above spam-tag-score counts as spammy. Detect-only, never blocks.
Auto-suspend on spam burstWhen a mailbox exceeds the rate below, suspend it (active no). With this off, the overage is only logged, which is useful for tuning first.
Spam threshold (rate)Spammy messages per hour from one mailbox before it is flagged (and suspended, if the above is on). Range 1–100000.

Virus Scanning

Hermes scans attachments against ClamAV's official signature databases (main.cvd / daily.cvd) as hash signatures: no clamd, no ~1 GB resident daemon. The database is loaded once by the master and shared with every listener via copy-on-write fork, so enabling scanning on additional listeners costs essentially no extra RAM.

Hermes has a built-in daily updater which refreshes ClamAV signatures when stale, verify they parse, then hot-reload the scanners.

FeatureWhat it does
Enable incoming virus scanningMaster switch: load the signature database and scan inbound attachments.
Action on detectionWhat to do with an infected inbound message: reject (554, never accepted), quarantine (deliver to Junk), or tag (deliver with a header).
Enable outbound virus scanningAlso scan authenticated submission (:587/:465) so a compromised account can't relay malware. Outbound hits are always rejected, regardless of virus-action.
Coverage. Scanning is intentionally hash-based: it blocks exact known-bad files. Polymorphic and macro/document malware need the full clamd engine and are out of scope.

Smarthost

Route all outbound remote mail through an upstream relay (a provider or your ISP) instead of delivering directly to each recipient's MX. Local delivery is unaffected.

FeatureWhat it does
Enable smart hostSend every remote message through the relay below instead of MX-routing.
Relay hostHostname (resolved via the built-in resolver) or literal IP. Required when smarthost on; if unset, Hermes logs a warning and falls back to MX delivery.
Relay portSubmission port. 587 (STARTTLS) is typical; 25 for an unauthenticated internal relay. Range 1–65535.
Auth usernameSMTP AUTH user. When set, Hermes authenticates to the relay.
Auth passwordAUTH password, inline. Prefer the file form below.
Auth password fileRead the password from the first line of a root-only file, keeping the secret out of the main config. Overrides smarthost-password when both are set.

Security model. When a username is set, Hermes requires STARTTLS and verifies the relay's TLS certificate against smarthost-hostname before sending credentials; if TLS can't be established, no supported AUTH mechanism (PLAIN/LOGIN) is offered, or the certificate doesn't verify, the message is deferred: credentials are never sent in the clear. Use the relay's hostname (not a bare IP) so certificate verification can succeed. MTA-STS/DANE are bypassed for the relay hop (it is a trusted, explicitly-configured next hop) but still govern direct MX delivery when the smart host is off.

The password is stored as plaintext in a root-owned file by design: SMTP AUTH must replay the actual password, so hashing is impossible and local encryption only relocates the secret. Protect it with filesystem permissions, the same model used for the TLS private key.

Mailbox Limits

These set the global defaults for every mailbox. When the multi-domain mailbox tree is in use, each can be overridden per domain (in a domain's _root.conf) or per individual mailbox stanza.

FeatureWhat it does
Quota gracePercent a mailbox may exceed its quota and still accept mail (soft cushion before hard rejection). E.g. 10 = accept up to 110% of quota. Range 0–1000.
Allow subaddressingAccept user+detail@domain and deliver to user, preserving the +detail tag for filtering.
Send limitOutbound messages per hour per mailbox.
Recipient limitOutbound recipients per hour per mailbox.
Auto-suspend multiplierAuto-suspend a mailbox once its outbound rate reaches this multiple of send-limit/rcpt-limit. Fractional allowed, e.g. 1.5 suspends at 150% of the limit. 0 disables auto-suspend (the limit still throttles).

How the limits interact

Send limit / Recipient limit throttle a mailbox at its hourly ceiling. Auto-suspend multiplier is the harder backstop: if a mailbox blows past its limit by the configured factor, a strong signal of a compromised account, it is suspended outright rather than merely throttled. Leave the multiplier at 0 to throttle without ever auto-suspending.

Overview

The Users screen manages every account that can log in to the panel. The page shows the viewer's whole visible slice of the user tree with each row's type, parent, assigned package, resource counts (websites, databases, domains, emails), and creation date. What any one viewer sees depends on their own tier: Owners and Super Administrators see every account on the panel, Resellers see the sub-accounts they created, and Customers see only their own Collaborators.

The tabs along the top of the list filter by account type, with a live count beside each. The search box matches name, email, and company together.

Account types

UPCP has six tiers. The rule for who can create whom is strict: a caller may only assign tiers strictly below their own, with one exception noted.

  • Owner. Panel-wide root. Sees every account, every server, every setting. The only tier allowed to assign its own tier, so a second Owner is possible as a backup.
  • Super Administrator. Panel-wide operator, one step below Owner. Can manage every account below Owner and reparent accounts between resellers.
  • Support. Can impersonate accounts and triage issues, but cannot create new Owners or Super Administrators.
  • Reseller. Owns a sub-tree. Creates Customers and Collaborators underneath. Does not see other resellers' accounts.
  • Customer. Owns websites, databases, domains, and mailboxes. Can create Collaborators to delegate work on their own resources.
  • Collaborator. Scoped to a specific set of websites inside one parent account. Useful for giving a developer access to one site without exposing the parent's billing or other sites.

Add a user

The Add user button opens a three-method invite screen. Pick whichever matches how you want the new account to come online.

  • Email invite. The panel emails the invitee a one-time link that opens the password-set screen. The invite expires after a configurable window.
  • Unique link. The panel generates a shareable one-time link that you can hand over out of band (Slack, SMS, in person). Same password-set flow at the far end as the email invite.
  • Manual setup. You set the password now and hand the credentials to the user yourself. Useful for internal operator accounts.
The Add user screen: the three invite methods with Unique link selected, the optional Assign to parent and Package pickers, and the account type list below them

The Account type picker only lists tiers you are allowed to assign. Owners and Super Administrators also see an Assign to parent picker that lets them drop the new account directly under any Owner, Super Administrator, or Reseller instead of under themselves. Resellers always parent new accounts under themselves.

If the account type gets a Package assignment (anything below Super Administrator), you can pick the package here too. The package controls resource caps (websites, databases, mailboxes, DNS zones) and sub-account caps (max customers, max collaborators). Owners and Super Administrators bypass packages because their caps are unlimited by design.

For Collaborator and other site-scoped types, the Allowed websites picker lets you tick which of the parent's sites the new account can see. Leave empty to grant access to none, filter the list with the search box, or Clear all to reset.

Editing a user

Clicking a row opens the edit screen. Every field here can be changed, with guardrails on account id 1 (the panel's bootstrap Owner) and on whichever account you are logged in as.

  • Account details: full name, email, company, and a password reset field. Leave the password blank to keep the current one. The toggle at the top of the card enables or disables the account outright, same as the row action.
  • Parent account (Owner / Super Administrator only). Moves this account under a different parent. Websites, databases, mailboxes, and downstream sub-accounts move with it.
  • Account type. Shows the same tier picker as the add screen, filtered to tiers below the caller's own. Account id 1 cannot be downgraded, and you cannot change your own type.
  • Package. Reassigns the plan. Resource caps apply going forward; existing resources are not deleted if the new package has a tighter cap, but new ones are blocked until usage drops below the cap.
  • Allowed websites. Same site-picker as the add screen, scoped to the parent's catalog.

Row actions

The three-dot menu at the end of each row has:

  • Edit. Opens the edit screen above.
  • Login as. Impersonate the account. Visible to Owner, Super Administrator, Support, and Reseller tiers against any account below them. The panel stashes your original session and switches you into the target's view; a banner at the top of the panel offers a one-click return.
  • Disable / Enable. Blocks or unblocks login. Disabled accounts cannot sign in but their resources (websites, databases, mailboxes) keep running. Hidden on account id 1 and on your own row.
  • Delete. Permanently removes the account and all associated data. Confirmation required. Hidden on account id 1 and on your own row.

Caps and limits

Two package caps govern the Users page.

  • max_customers covers every non-Collaborator sub-account that counts against the parent: Resellers, Customers, Super Administrators created by an Owner, and so on.
  • max_collaborators covers Collaborators specifically, and cascades up the tree so a Customer's Collaborators also count against their Reseller's own cap.

When either cap is reached, the Add user button opens a cap-reached modal instead of the invite screen, naming the package and the specific limit so the operator knows what to upgrade. Owners and Super Administrators are exempt from both caps.

Overview

The Servers page is an overview of all current servers within your platform. You can quickly see the following information:

  • Server name
  • UPCP version
  • Roles installed
  • IP Address
  • Latency, CPU Usage, Memory Usage, and Disk Usage
The Servers page: every server in the fleet with its UPCP version, the roles installed on it, its IP address, and live latency, CPU, memory and disk figures

Kebab Menu

Each server row has a kebab icon (...). When you click this icon, you can access more options:

Server kebab menu
  • Manage - To view full details and settings about this individual server
  • Disks - View disk information and other disk tools
  • Processes - View top CPU and Memory processes as well as all running processes
  • Firewall - View blocked IP addresses
  • Logs - View all logs for services
  • Graceful Reboot - Gracefully reboot the server
  • Decommission - Start the Decommission process

More or fewer options may be present depending on the server status or future updates.

Adding a Server

To add a new server to your platform, simply click the Add server button towards the top right of the screen. Upon clicking this button, a new modal will pop up with a unique command you can copy/paste into your new Alpine Linux or Ubuntu server.

Add a server

Once you successfully run this command on another server, the new server will appear in the Server list. The new server's name will appear as Pending Installation until it has been set up successfully. If you make a mistake here, you can also delete the server from this screen using the kebab menu.

Managing a Server

To view full details about a server, set settings, install roles, or manage it, you'll need to access the individual server screen. To do so, navigate to Servers, use the kebab menu and click Manage, or simple click the entire server row on the Servers screen. This will then load the overview screen for that individual server.

Individual server management

Network

Latency probes from this server to a set of well-known endpoints (Cloudflare, Google DNS, etc). Each row shows the round-trip time in milliseconds. Auto-refreshes every 10 seconds.

Use this page when a customer reports something feels slow; high latency on all rows points at a network or upstream issue rather than the server itself.

Server Network Management

Processes

A live process list for the server, sorted by CPU usage by default. Same information as running top or htop over SSH but without needing shell access. Auto-refreshes every 10 seconds.

Handy for spotting a runaway PHP process, a stuck backup job, or a customer container consuming more than it should. Can be sorted via CPU or Memory using the relevant buttons; the search box filters by command name.

Server process list

Services

The list of managed background services on this server can include the control panel container, reverse proxy, database engines, mail suite, DNS and so on. Each row shows the service's current status (running, stopped, disabled) plus how long it's been in that state.

Actions on each row let you start, stop, restart or disable a service directly from this screen. Restart is the safe default when a service is misbehaving; stop is intended for maintenance windows only.

Background services running on a server

Firewall

The active firewall state for this server, powered by Unicorn Shield. Shows the current ban list grouped by jail (brute-force SSH, bad bots, manually-banned IPs and so on) along with how many IPs are in each.

Search bans by IP address to see whether a specific address is blocked. Use the Unban button on any row to release an IP. Use Ban IP to add an address to the manual jail. It stays banned until you release it. A prominent notice at the top of the page warns you if your own browser's IP is currently banned on this server.

Firewall management

Backups

Placeholder for a future per-server backups view. The panel's backup management currently lives at Settings → Backups (fleet-wide policy) and on each website's Backups tab (per-site archives). Nothing to configure here yet.

Disks

Every mounted disk on the server with its current size, free space and inode usage. Color bars turn amber once a disk crosses 75% and red past 90%, so you can spot storage pressure at a glance.

Also lists the top directories and top files on the primary disk so you can find what's using space when a customer's usage or a runaway log file has bloated the box. The lists refresh on demand: click the reload icon on either card if you've just cleared something out and want to see the new numbers.

Server disk management

Roles

The catalog of installable services (roles) for this server: MariaDB, MySQL, PostgreSQL, various PHP versions, Apache, NGINX, the Hermes mail suite, Heimdall DNS, backup targets, and so on. Each row shows whether the role is installed on this server, which version is running, and whether an update is available.

Enable a role by clicking Install on its row; the panel builds and starts the necessary containers in the background and streams the progress live. Update pulls the latest version of a role that's already installed. Disable removes the service but leaves any stored data on disk so re-enabling it later restores the state you had. Some roles won't offer to install if they conflict with something already running.

Server Role management

Logs

Live view of the log files this server produces: panel activity, cron runs, per-service logs for every enabled role, the Shield WAF's inotify tail and so on. Pick a log from the dropdown.

The most useful logs when troubleshooting: the panel's commands log for anything the operator has done recently, and any per-service log when a specific role is misbehaving.

Settings

Placeholder for future per-server settings (SSH access keys, host-level tuning). Not wired up yet; leave this tab alone for now.

Tools

One-off maintenance actions that don't fit under Roles or Update but that a server admin occasionally needs to reach for. Each tool is a card with a short description of what it does and a button to run it.

Typical tools include: rebuild every tenant container from current panel settings; recompute cached disk usage and quota numbers after a bulk import; refresh the trusted-IP lists for Cloudflare and BunnyCDN so client IPs are recorded correctly at the proxy; prune orphaned container images to reclaim disk. Which tools are visible depends on which roles are enabled on the server.

Update

The panel-upgrade surface for this specific server. Shows the version this server is currently running and the latest version available upstream. Clicking Update triggers the same upgrade sequence unicorn upgrade runs on the command line (download the release, verify the license, extract, walk per-version scripts, restart services) and streams the live output into the page so you can see each step complete.

The Update page respects the panel's license state. A valid license lets the download proceed; a rejected or expired license fails at the download step with an explanation. Nothing about the server's data is touched until the release has been verified and extracted, so a failed upgrade attempt leaves the server on its previous working version.

Overview

Unicorn Shield is the panel's security surface. It groups seven fleet-wide tabs under one page: Firewall, Malware, WAF, Audit, Vulnerabilities, FIM, and Threats. Every tab queries every server in the fleet via the panel's cross-server API, so the view is always the whole fleet rather than one host at a time. Where a tab offers an action (ban an IP, accept a change, run a fix), that action still runs on the specific server that saw the event.

The ban daemon that catches attackers in real time is called upcp-shield. It runs on every server in the fleet and streams the panel's own API log through an awk matcher that fires bans the moment a probe pattern lands. The Firewall tab is where the resulting bans show up.

upcp-shield is an OpenRC service, not a role, so it is managed on the server rather than in the panel. To turn the ban daemon off on one host, take it out of the boot runlevel with rc-update del upcp-shield and stop the running service with rc-service upcp-shield stop. That host stops writing new bans to its firewall; bans already in the ruleset stay, and the Shield tabs still report on the server, because they read the panel API rather than the daemon. Put it back with rc-update add upcp-shield default.

Firewall

Live view of every active ban across the fleet, grouped by jail. A jail is a logical bucket for one kind of threat: brute-force SSH, bad bots, WAF-triggered bans, manually-banned IPs, and so on. The counter next to each jail tells you how many IPs are currently sitting in it.

The Firewall tab: total bans across the fleet with the top country and busiest jail, bans broken down by address, jail, country and server, and a per-host card listing each banned address with its country and when it expires

From here you can unban one IP, unban every IP in a jail, or open the Add manual ban modal from the page header. The modal accepts:

  • A single IPv4 or IPv6 address, or a CIDR range like 203.0.113.0/24 or 2001:db8::/32. Ranges land as one nftables element thanks to the blocklist sets' flags interval.
  • A server target: the default is All servers, which fans the ban out across every reachable host in the fleet. Switch to Pick servers… to select specific hosts.
  • A duration: Permanent, or a Timed TTL in minutes, hours, or days. Timed bans auto-release in the kernel when the timeout fires; permanent bans stay until you unban them.
  • An optional reason tag (up to 64 characters) that is rendered as a chip next to the IP in the Banned list.
Bans fired from the Firewall tab land in the upcp-manually-banned jail. If a ban is skipped by the CDN or crawler allowlist (for example, you tried to ban a Cloudflare edge), the modal surfaces the reason per server so you see exactly why the click did nothing.

Automatic ban escalation (WAF bans)

Bans fired by the WAF (either by the hourly scanner or by the Ban button on the WAF By IP table) escalate on repeat offenders. Shield keeps a 90 day ban history per IP; the next ban's TTL is picked by how many times the same IP has already been banned inside that window:

  • 1st ban: 24 hours.
  • 2nd ban: 7 days.
  • 3rd ban: 30 days.
  • 4th ban or later: permanent.

Each row in the Banned list carries a tier chip (1st ban, 2nd ban, 3rd ban, PERMANENT) that darkens as the tier climbs, so a repeat offender is obvious at a glance. The Ban History view on the WAF tab (grouped by IP) is where you can walk the full ladder for one address, including the per host incidents and when each ban expires.

Escalation only applies to the upcp-waf jail. Manual bans from the Firewall tab stay at the exact TTL (or permanent) you picked, and never climb the ladder. Bans the upcp-shield daemon writes into upcp-nginx-malicious are also fixed-TTL, not escalated. Bans are stored both in SQLite (so the panel UI can show history) and in the live nftables ruleset (so the kernel enforces them). The two are kept in sync by the Shield daemon. If you see a ban row in the UI that is not actually blocking traffic, run unicorn shield firewall-sync on that server and the kernel state is rebuilt from SQLite.

Malware

Fleet-wide roll-up of per-site malware scans. The actual scanner lives on each website's Malware tab under Websites; the Shield Malware page is where you see one row per site with its last scan date, the result (clean, suspicious, or infected), and the file count that landed in quarantine. Clicking a row jumps to that site's Malware tab for the per-file detail.

The Malware tab: active findings, quarantined files, scanner health and last scan time across the fleet, with a card per host showing its ClamAV and LMD versions and a live progress bar for a scan in flight

Two scan engines run back to back on every scan: Linux Malware Detect first, then ClamAV. A file has to clear both to be classed as clean. The Malware tab also shows the last-updated date of each engine's signatures so you can confirm the daily refresh is still running.

Malware scanner settings

Available once the Unicorn Antimalware role is enabled on at least one server. Open Settings > Malware for the fleet default, or Servers > <server> > Settings > Malware for a per-server override. Each server reads the fleet default unless it has its own override, and every change takes effect on the next scan without a daemon restart.

Engines

LMD and ClamAV can be toggled independently; at least one must stay on. LMD (Linux Malware Detect) is lightweight and significantly faster than ClamAV because its signature set is much smaller and it reuses ClamAV's engine when ClamAV is installed. ClamAV catches a wider range of general viruses that LMD's host-focused signatures miss. Most operators leave both on; disable ClamAV on tight-RAM nodes if you need the headroom.

Scope

Scan public only is off by default so the panel preserves the installer's current behavior of scanning each tenant's whole container home. Turn it on to limit the scanner to each tenant's web-exposed tree, which is where attackers almost always drop files, for a noticeably faster scan at the cost of missing anything staged outside public.

Exclude patterns are container-relative globs, one per line, that the scanner skips. The defaults cover log files and WordPress cache directories. Paths cannot start with / or contain ...

Max file size to scan defaults to 100 MB. Files larger than this are skipped, since backups and large uploaded media rarely need to be in the scan path and dominate wall-clock time when included.

Action on finding

Two choices: Flag only (default, matches the installer) records the finding and leaves the file untouched; Quarantine moves the file into a tenant-scoped quarantine directory and records the finding. Flag is the default because the installer ships with LMD's auto-quarantine off and the panel today only quarantines when the operator clicks through on a finding. Switch to Quarantine to make that step automatic. Auto-delete is deliberately not an option: quarantine is reversible and gives the operator or the tenant a chance to restore a false positive.

Resources

CPU nice level (0 to 19, default 10) determines how much CPU priority the scanner yields to interactive workloads on the same host. Max containers scanned at once (default 2) controls how many tenant containers can be scanned in parallel; raise it on hosts with CPU and IO headroom. Per-container scan timeout (default 30 minutes) bounds how long any one container's scan can run; the scanner moves on when it hits the limit, and the partial result is still recorded.

Signatures

Signature update cadence: Hourly for the highest detection on brand-new malware (more upstream traffic), Daily for the standard balance (recommended), or Manual only when you want signatures to update only when you run unicorn antimalware sigupdate by hand.

Notifications

Two independent switches. Email on findings is on by default: the operator is emailed whenever a scan finishes with at least one finding. Email on clean scans is off by default so a daily sweep of a quiet fleet stays silent; turn it on to receive a short summary after every scan, including clean ones. Turning both switches off disables scanner email entirely.

WAF

Live view of attack traffic hitting your sites. The scanner reads the panel proxy's access and error logs, classifies common probe shapes (SQL injection, XSS, path traversal, WordPress probing, log4shell, admin probing, and more), and turns them into events you can act on. The page opens on the fleet overview: headline numbers, a world map of attacker countries, a stacked attack timeline, and the top offending IPs.

The Shield WAF tab fleet overview: attack counters, world map, timeline, and top offenders

Three views switch between different cuts of the same data:

  • By IP (Default): one row per attacker IP with its attack count, categories, country, and the Ban button. Click the dropdown on Ban to pick between banning on only the servers that saw the attack or banning across the whole fleet.
  • By Server: Charts of bans per server with top offending IPs, top offending URIs, and most targeted domains.
  • Ban History: every past ban the WAF has fired, grouped by IP. Each row shows the ban count, the set of reasons across every incident, how many servers saw the IP, when it was last banned, and whether it is still active. Click a row to expand into the per-host ban ladder. The list paginates in blocks of 250 IPs and active bans float to the top of each page.
The WordPress probing filter (wp_probing, pma_probing, admin_probing) only matches requests that returned a 4xx or 5xx response, so a legitimate admin visiting /wp-login.php and signing in successfully never shows up. Use Hide WordPress probing to drop these rows from the view entirely if you only want to triage higher-value attacks.

Bans fired from the WAF tab land in a dedicated upcp-waf jail with a 24 hour auto-expire by default. If the CDN or crawler allowlist blocks a ban (for example, you tried to ban a Cloudflare IP), the Ban button shows a toast explaining why instead of silently reverting.

Bulk ban selection

Each row in the By IP view has a checkbox on the left and the table header has a select-all that toggles every visible row. Pick any number of rows and an action bar appears above the table with three buttons:

  • Ban N IPs on flagged servers: ban each selected IP only on the servers that actually saw the attack. Same scope as the single-row Ban button, just batched.
  • Ban N IPs across the fleet (X servers): ban each selected IP on every server in the fleet, including hosts that have not seen the attack. More aggressive; gated by a confirm modal that spells out the IP count and server count, and shows a live progress bar as the ban sweep runs.
  • Unban N IPs: lift the ban for each selected IP everywhere it is currently banned (both flagged and fleet-wide bans). Disabled when none of the selected IPs are banned anywhere.

Selection is pruned to visible rows automatically: toggling Hide Already Banned, typing in the filter, or a successful ban that rotates a row out of view all drop the vanished IP from the selection. You cannot act on something you cannot see. Already-banned (IP, server) pairs are skipped on both ban variants, so re-running a bulk action against partially-banned IPs only touches the gaps.

Attack categories

Every row's pills name the classifier categories the attacker's traffic tripped. Categories come from two detectors: URI/UA pattern matches on the access log, and free-text matches on the error log. Severity ranges from LOW (noise) to CRITICAL (direct compromise attempts). Multi-category rows mean the IP triggered more than one classifier on the same traffic.

CategorySeverityWhat it catchesExample evidence
sqliHigh / CriticalSQL injection patterns in the request. UNION SELECT, ' OR '1'='1, information_schema, blind-sleep (SLEEP(10), BENCHMARK(), and destructive statement patterns (; DROP TABLE) all match./?id=1 UNION SELECT 1,password FROM users--
xssMedium / HighReflected / stored XSS attempts. <script>, URL-encoded script tags, javascript: URIs, event handlers (onerror=, onload=…alert), and SVG payloads./?q=<svg onload=alert(1)>
path traversalHigh / CriticalDirectory escape sequences and sensitive-path reads. Multiple ../ hops, URL-encoded variants (%2e%2e/), and direct hits on /etc/passwd or /proc/self/environ (both upgraded to Critical)./?file=../../../../etc/passwd
ssrfMedium / CriticalServer-Side Request Forgery payloads. Cloud metadata endpoints (169.254.169.254, metadata.google, metadata.aws, all Critical), loopback / RFC1918 targets, and gopher:// / file:// URIs./?url=http://169.254.169.254/latest/meta-data/
env probingHighAttempts to fetch .env files. Covers the plain /.env plus staging variants (.env.local, .env.prod, .env.production)./.env, /.env.production
config probingMedium / High / CriticalFetches for secrets-bearing config files: .git/config, .aws/credentials (Critical), docker-compose.yml, wp-config.php backups, .htpasswd, DB dumps (backup.sql, database.tar.gz), and SSH private keys (id_rsa, id_ed25519, both Critical)./.aws/credentials, /wp-config.php.bak, /id_rsa
wp probingLow / MediumWordPress-targeted scans. /wp-login.php, /xmlrpc.php, /wp-admin/*install*, author-enumeration (?author=1), plugin / theme readme.txt fetches. Only matches when the response was 4xx/5xx, so successful logins never show up here./wp-login.php (returned 403), /?author=1
pma probingMediumphpMyAdmin / database-admin console scans. Matches /phpmyadmin/, /pma/, /mysql/, /dbadmin/ on 4xx+ responses so legitimate operator visits do not count./phpmyadmin/ (returned 404)
admin probingMediumGeneric admin-console scans: /administrator/, /admin-console/, /manager/. Status-gated the same way as pma_probing./administrator/ (returned 404)
shell uploadCriticalFetches for known PHP webshells left behind by a prior compromise. c99.php, r57.php, wso.php, b374k, generic webshell./wp-content/uploads/c99.php
rce attemptCriticalRemote Code Execution payloads. Shell-command parameters (?cmd=whoami, ?cmd=uname), base64 eval(, system(…wget), and the PHPUnit eval-stdin.php RCE vector./?cmd=cat /etc/passwd, /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
log4shellCriticalCVE-2021-44228 (log4j JNDI). Matches literal ${jndi: payloads, URL-encoded (%24%7bjndi:), and the common lower-case bypass pattern.User-Agent: ${jndi:ldap://attacker.com/a}
scanner uaLow / Medium / HighKnown security-scanner User-Agents. sqlmap (High), nikto / nessus / acunetix (High), nmap / masscan (Medium), gobuster / wfuzz / ffuf (Medium), wpscan / joomscan (Medium), nuclei / whatweb (Low), and reputation crawlers like shodan, censys (Low).User-Agent: sqlmap/1.7
scannerLowError-log signal for scanner-shaped activity that did not match a URI rule. SSL handshake probes, oversized bodies, bad records. Weak signal, meant to flag "something odd" rather than drive bans.SSL_do_handshake() failed, client intended to send too large body
blocked by wafMediumError-log entries from nginx's own access-control (allow/deny, auth_basic) firing on a request. The IP tried something the vhost already rejects at the proxy layer.access forbidden by rule
rate limitMediumPer-site limit_req / limit_conn refusals (1.0.16+). The IP exceeded the site's configured request-rate or connection-count ceiling.limiting requests, excess: 100.000 by zone "rl_cglx"
backend errLow / Medium / HighError-log signal that the tenant backend is misbehaving under load (often a mass-abuse symptom): upstream timeouts, premature closes, no live upstreams (High), FastCGI stderr noise.upstream timed out, no live upstreams while connecting to upstream
Severity on a given row is the worst of the IP's categories. An IP that hit SQLi (High) + XSS (High) + path_traversal /etc/passwd (Critical) renders as Critical overall, and the row is tinted accordingly. The individual pills keep their own color so you can still see every category at a glance.

Audit

Fleet-wide security audit. Every check runs against every server, scores the host, and offers a one-click fix for the common failures. Checks cover SSH configuration (root login, password auth, key types), SSL expiry across every panel-managed certificate, kernel sysctl flags (ASLR, SYN cookies, IP forward), SUID surprises outside the expected set, disk-space pressure, clock skew, and more.

The Audit tab: pass, warn, fail and skip counts across the fleet, filters by status, severity and category, a card or matrix view switch, and fleet insights naming every server failing each check

The hero at the top of the page is a Fleet Score, which is just the pass percentage across every check and every host. Each server also carries its own score tile so you can tell at a glance which host is the weak link. The main table lists each check with its status (pass, warn, fail) per server; clicking a failed check expands into the detail and the auto-fix button.

Common auto-fixes:

  • clock-skew: steps the clock back to NTP time via a built-in SNTP client.
  • ssl-expiry: triggers acme.sh to renew the flagged certificate on that server.
  • ssh-permit-root-login: sets PermitRootLogin in /etc/ssh/sshd_config and reloads sshd. Dropdown lets you pick between no (deny all root SSH) and prohibit-password (keys-only root SSH).
  • ssh-allow-tcp-forwarding: sets AllowTcpForwarding and reloads sshd. Dropdown lets you pick between no (block all tunnels) and local (allow outbound ssh -L, block reverse tunnels).
  • ssh-client-alive: writes ClientAliveInterval 300 + ClientAliveCountMax 2 to /etc/ssh/sshd_config so idle sessions disconnect after about 10 minutes.
  • apk-upgrades-pending: runs apk update && apk upgrade non-interactively. If a kernel package was in the upgrade set, the paired system-reboot-required check flips to warn on the next audit run so you know a reboot is pending.
  • sysctl-aslr and friends: writes the right sysctl value into /etc/sysctl.d/ and loads it live.
  • sshd-config-perms, etc-shadow-perms, etc-passwd-perms, authorized-keys-perms, ssh-host-keys-perms, panel-key-perms, upcp-config-perms, root-home-perms: chmod/chown to the hardened mode the panel ships.
When a check has more than one sensible remediation (such as PermitRootLogin no vs prohibit-password), the Apply-Fix modal shows a dropdown so you pick the one that matches your operational model. The default (first option) is always the stricter of the two.

The permissive-elevation check scans /etc/sudoers, /etc/sudoers.d/, /etc/doas.conf and /etc/doas.d/ for truly password-less rules (NOPASSWD: in sudoers, permit nopass in doas) and warns on any match. Alpine's default permit persist :wheel is NOT flagged: it still requires a password on first use and only caches auth for a short window, so it is not in the same risk category as a true nopass rule. Narrow use of nopass, such as an automation account, is still fine: the check only warns, never fails, so an intentional CI exemption does not drag down the Fleet Score. There is no auto-fix, because the right remediation (keep, scope, or remove the rule) is a judgment call per rule.

The system-reboot-required check compares the running kernel (uname -r) against the newest kernel installed under /lib/modules/. A mismatch means a kernel upgrade has landed but has not taken effect yet; the check warns, and the fix is a manual reboot during a maintenance window (no auto-fix because rebooting is an operator decision that drops active sessions). Container-only hosts with no /lib/modules/ dir skip the check cleanly.

The nologin-shells check looks for system accounts that still carry a real login shell when they have no reason to log in at all. Each hit is a standing account an attacker could land a session on. The remediation is unicorn ssh set-nologin <user> on that server, which is deliberately a CLI step rather than a one-click fix: the command itself refuses root, tenants, and uid ≥ 1000, but which of the remaining system accounts genuinely needs a shell is a per-host judgment. See System Administration > SSH for the full guardrails.

The podman-rootless check verifies each tenant's container processes run as that tenant's own 4-char uid (not root, not upcp). The isolation model is podman run --user <uid>:<uid> --userns=keep-id; a container escape then only reaches that one tenant's unprivileged shell. Container dirs with no matching Linux user (Reverse Proxy sites by design, or orphan dirs from deleted sites) are reported separately in the evidence line so they do not skew the running/stopped count.

Vulnerabilities

Pending package updates across your fleet with CVE details and severity scores, pulled from the host distribution’s own security database (Alpine’s on Alpine hosts, Ubuntu’s on Ubuntu hosts) and from OSV. Pick a single server from the dropdown to scan just that host, or leave it on all to scan every server at once. The scan runs apk on Alpine hosts and apt on Ubuntu hosts, cross-references pending versions against the two CVE feeds, and lists everything with a known fix.

The Vulnerabilities tab in by-package view: each pending package with the servers affected, its worst CVE and severity score, and the total number of CVEs that upgrading it closes

Two groupings:

  • Per server: the default. Each row is one package on one server with its current version, the fixed version, and every CVE that would be closed.
  • By package: one row per package, with every affected server underneath. Useful for planning a rolling upgrade of one package across the fleet.

Filter by severity (critical, high, medium, low), search for a specific CVE id, or export the whole list as CSV for ticketing.

FIM (File Integrity Monitor)

Baseline-hash comparison on panel code, system binaries, and security configs. Shield builds a baseline on install, then re-hashes every monitored path once an hour and fires an alert on any difference. Changes to high-value paths (sshd_config, sudoers, sudoers.d/, doas.conf, doas.d/, SUID bits, anything under /usr/local/bin) are flagged critical.

The FIM tab grouped by file: each changed path with its severity, what changed, how many hosts show it, when it was last seen, and Accept or Investigate buttons that resolve it across every host at once

Tenant files are deliberately not monitored here. The panel's own code, the system binaries that back it, and the security configuration are what FIM watches; application files inside each tenant's container are not. If you want integrity monitoring on a tenant's files, that is the per-site Malware scanner's job, not FIM.

Two views:

  • Events per host: one row per change event, newest first. Each event carries the severity, the path, the kind of change (new file, hash drift, permission change, SUID added, and so on), the server, and the Accept and Investigate buttons.
  • Grouped by file: one row per distinct path, with the set of affected servers underneath. Use this to resolve "the panel pushed a new binary to every host" in one click.

Two actions on each event:

  • Accept: endorse the change as the new baseline. The event is marked resolved and the next hourly scan compares against the new hash.
  • Investigate: clear the event from the list without updating the baseline. Use this for a change you understand but do not want to adopt as the new ground truth (for example a transient test file that will be removed again).

Fleet-level Accept all sits top-right of the header. One click acknowledges every unresolved change that matches your current filter, batched into a single call per affected server. The confirmation modal gates it unless you have previously opted out.

Threats

Egress and ingress threat-intel blocking plus process-anomaly detection. Threats watches outbound and inbound traffic across your fleet and drops connections to known-bad IPs at the firewall, using nftables sets maintained from upstream feeds.

The Threats tab: tiles for critical alerts, firewall blocks, process anomalies, threat-intel entries loaded, last feed sync and hosts reporting, above the feed table with its enable toggles and scope selectors

Four feeds are enabled by default:

  • Spamhaus DROP and Spamhaus DROPv6: Spamhaus's hijacked and allocated-to-criminals IPv4 and IPv6 ranges.
  • Feodo IPBL: abuse.ch's Feodo Tracker, which lists IPs serving Emotet, Dridex, Qakbot, TrickBot, and related banking malware.
  • ThreatFox: abuse.ch's general-purpose IOC feed.

Three more are available but off by default and can be turned on from the Feeds card: DShield, Blocklist.de, and the Tor exit-node list. Each feed has a toggle to switch it on or off, and a Scope selector to decide whether entries from that feed land in the Outbound set, the Inbound set, or both.

Feeds refresh hourly into nftables sets. The Firewall blocks tile at the top of the tab reads directly from the kernel counters and shows how many packets have been dropped in the current window. If this tile reads 0 on a server you know is seeing scanner traffic, the Threats tab's events table will say which feed is matching.

Process anomaly detection is the other half of the tab. Shield scans running processes for post-exploit shapes:

  • Reverse shells: a shell holding a network socket spawned by php-fpm or nginx.
  • Download-execute pipelines: curl or wget piped straight to a shell.
  • Cryptominer stratum connections.

Hits appear in the same unified timeline as the threat-intel drops. Each event has Accept and Investigate buttons that work the same way as the FIM tab.

The upcp-shield daemon

Shield's real-time ban logic runs in a background daemon called upcp-shield. It is not a single process: OpenRC's supervise-daemon keeps a parent shell alive, and that parent runs one tailer per jail, each piping into its own copy of the same awk matcher. A process tree on a running server looks roughly like this:

supervise-daemon upcp-shield --start --stdout /var/log/upcp/upcp-shield.log
 _ /bin/sh /opt/upcp/services/upcp-shield/upcp-shield
     _ shield-tail.sh /var/log/messages                                   # sshd
     _ shield-tail.sh /opt/upcp/services/upcp-proxy/logs/proxy-access.log # upcp-nginx-malicious
     _ shield-tail.sh /opt/upcp/services/upcp-proxy/logs/proxy-access.log # upcp-wordpress
     _ shield-tail.sh /opt/upcp/logs/api/api.log                          # upcp
     _ awk -f /opt/upcp/services/upcp-shield/match.awk                    # one per jail
     _ sleep 300                                                          # snapshot timer

Which tailer a jail gets depends on its logpath. A fixed file gets shield-tail.sh, a polling tail that copes with log rotation by copytruncate. A glob gets shield-inotify-tail.sh instead: one inotify-driven watcher covers the whole pattern and picks up files that appear later, so a jail watching every tenant's log does not need a restart when a tenant is added. All four built-in jails are fixed paths, so a stock server shows four plain tails.

Every tailer pipes into its own awk -f match.awk. They all run the same pattern library (empty User-Agent on a sensitive path, repeated 401s on /login, a burst of /wp-login.php hits returning 404, and so on), and each emits a ban command the moment a pattern crosses its jail's threshold. The emitted command is a unicorn shield ban call, which writes the ban into both the SQLite history and the live nftables set.

Seeing several awk processes in ps is normal: there is one per jail, not one per ban. Their CPU time is uneven because the proxy access log is far busier than the system log.

The jails the daemon fills

Each jail pairs a log file with a filter and its own thresholds. The filter is always the jail name without the upcp- prefix. Two jails read the same proxy access log with different filters, which is why shield-tail.sh appears twice against that path in a process listing.

JailLogTriggerBan lengthPorts
sshd/var/log/messages5 in 10 min24 hours22
upcp-nginx-maliciousproxy-access.log5 in 10 min6 hours80, 443
upcp-wordpressproxy-access.log5 in 10 min6 hours80, 443
upcpapi.log25 in 10 min6 hours80, 443, 8727

The panel's own API jail is deliberately the most forgiving at 25 strikes, because a logged-in operator clicking around generates far more traffic than a scanner probing one path. SSH gets the longest ban at 24 hours; the web and panel jails release after 6.

The sleep 300 you see as a child process is the blocklist snapshot timer. Every five minutes the daemon writes the current ban set to blocklist.snapshot, and replays it on startup, so a reboot does not reset hundreds of kernel-tracked bans to zero. Five minutes keeps disk churn negligible while bounding how many bans a hard crash can lose.

Tuning jails with conf.d drop-ins

The shipped jails live in /opt/upcp/services/upcp-shield/shield.conf. Do not edit that file: a panel update overwrites it. Anything in conf.d/*.conf is parsed afterwards with last-wins semantics and is never touched by an update, so that is where local changes belong.

Disable a built-in jail:

# conf.d/disable-sshd.conf
[sshd]
enabled = 0

Override one setting without restating the whole jail:

# conf.d/tweak-sshd.conf
[sshd]
maxretry = 3

Add a jail of your own. The filter key names a file under filter/ holding regexes with a <HOST> capture:

# conf.d/custom-myapp.conf
[myapp]
enabled  = 1
logpath  = /var/log/myapp.log
filter   = myapp
maxretry = 5
findtime = 600
bantime  = 3600
ports    = any

bantime takes seconds, or -1 for permanent. ports takes a comma-separated list, or any. A logpath containing a glob gets the inotify tailer automatically.

Restart the daemon after any change: rc-service upcp-shield restart.

Stopping Shield banning something it should not

Addresses that must never be banned go in always-ignore.ips, one IP or CIDR per line. The file is merged into the allowlist cache that should-ignore.sh maintains, alongside the CDN and crawler ranges it fetches for itself (Cloudflare's published IPs, verified search and SEO crawler ranges, and the panel's own fleet addresses). The cache refreshes every 24 hours by default; to apply a change now, delete /var/cache/upcp-shield/ips-to-ignore.txt and it rebuilds on the next pass.

The daemon is managed by OpenRC as upcp-shield:

  • rc-service upcp-shield status: confirm the daemon is running.
  • rc-service upcp-shield restart: restart after editing the match patterns.
  • rc-service upcp-shield stop: pause the real-time matcher. This stops every tailer at once. Panel-triggered bans (from the WAF tab) still work; only the live log watching is paused.
If you see upcp-shield banning something that should not be banned (a background panel self-call missing a User-Agent, say), the right fix is to tune the match pattern rather than disabling the daemon. The patterns live in /opt/upcp/services/upcp-shield/match.awk, and unicorn shield unban <ip> clears any stuck bans while you work on it.

The daemon fills the four jails above and nothing else. upcp-waf is populated by the WAF scanner and the Ban button on the WAF tab, and upcp-manually-banned by the Add manual ban modal; the daemon does not touch either. That separation means a bad match pattern can only noise up the jail whose filter it belongs to, not the whole firewall.

Overview

The Backups page is one view across every archive the panel knows about: website files, databases, and mailboxes, taken from every server with the Backup role enabled. From here you can run a backup now, restore an archive back onto its site, download an archive, or push it to a configured remote target.

  • Owners see every backup across the fleet.
  • Resellers and customers see only the backups that belong to the accounts they own.
The Backups page: summary cards for last backup, total stored, success rate, and next run, with tabs for Websites, Databases and Emails underneath Backups land on any server with the Backup role at /backups. That path can be a dedicated partition, a network mount, or external storage; the panel does not care, it just writes archives there and reads them back for restore.

Turning backups on

Two steps need to be in place before the panel will run anything:

  1. Enable the Backup role on a server. Open Servers > <server> > Roles and tick Backup. Any server in your fleet can host backups; many operators run it on a dedicated storage box so a tenant filling their disk cannot stall backups for the rest of the fleet.
  2. Flip the master toggle. Open Settings > Backups and enable automated backups. Until this is on, the panel runs no scheduled backups and the Backup now button is hidden on the Backups page.

Until both are done, the Backups page shows an empty state that steers you to whichever step is still missing.

The Backups page

Opens with four summary cards: Last backup, Total stored, Success rate, and Next run. Underneath, a tabbed table splits the archives into All, Websites, Databases, and Emails. Each row shows the domain or mailbox, the archive filename, when it was taken, its size on disk, and a "Shipped to N remotes" badge once a successful remote transfer completes. Click a row to see the full details, including any error message from the last run.

The search box at the top right filters the active tab by domain or UID in real time.

The table auto-refreshes every few seconds while you are on the page. A backup that finishes in the background shows up without a manual reload.

Running a backup now

Click Backup now in the top right. The dropdown has two options:

  • Run backups: a normal run. The runner walks every site and skips any whose last backup is younger than the "min age" set in Settings > Backups. Think of this as "whatever would run on the next scheduled hour, right now".
  • Force run backups: ignores the min-age gate and takes a fresh archive of every website in scope. Disk usage will jump; expect several minutes per site on a busy fleet.
Force run is destructive to retention: the oldest archives on remote targets with limited retention can roll off as the fresh archives land. Use it when you need a known-good archive right now, not as a daily driver.

Restoring a backup

Click Restore on any row. The modal reads the archive's manifest and offers two paths:

  • Restore the whole backup: writes every file, table, or folder from the archive back onto the live site, database, or mailbox. Website restores show a chain summary if the archive is an incremental that walks back through prior backups; the panel resolves the chain for you.
  • Choose files and folders (websites) / Choose tables (databases) / Choose folders (mailboxes): a tree view where you tick exactly what to restore. The rest of the live site is left alone.
The Restore backup dialog: a destructive-action warning, the choice between restoring the whole backup or picking files and folders, the file tree, and a field that asks you to type the site name to confirm Website and database restores overwrite the live version of anything in the archive. Files or tables that do not exist in the archive are left alone, but anything that does exist is replaced. Mailbox restores default to merge. Messages from the backup are added back if missing; anything received since the backup stays. Flip the Overwrite live folders checkbox if you want the destructive form (wipe-then-restore). Restoring a mailbox: the merge-is-safe banner, the choice between the whole mailbox or named folders, the overwrite checkbox, and each folder with its message count and size

Downloading a backup

Click Download on any row and the panel streams the archive to your browser. The download uses a short-lived single-use token: the API call mints a token, the browser follows a URL that redeems it, and the token is burned the moment the stream starts. Nothing stays accessible to anyone else who later gets the URL.

Archive sizes can be large. The panel streams the file directly from the backup server, so even a 20+ GiB archive does not touch disk on the panel host.

Re-shipping to remote targets

If an archive's row shows Shipped to 0 of N or one target highlighted in red, the first ship did not reach every configured remote. Click the row and use Re-ship to retry the failed targets without re-taking the archive. The usual causes of a failed ship are expired S3 credentials, a wrong path prefix, or an SFTP target whose host key changed since the target was added.

Settings > Backups

The fleet-wide configuration lives at Settings > Backups. Changes here apply to every server with the Backup role.

Settings > Backups: the master toggle, min age, daily and weekly retention, weekly day, the 24-hour schedule timeline, and the remote targets list

Retention

  • Min age: skip a site whose last backup is younger than this. Prevents a cron fire plus a Backup now click from running the same backup twice.
  • Daily retention: how many daily or incremental archives to keep locally. Setting to 0 turns daily retention off entirely.
  • Weekly retention: how many weekly full archives to keep. Setting to 0 turns weekly backups off.
  • Weekly day: the day of the week the weekly full is taken.

Schedule

The 24-hour timeline is click-to-toggle. Each cell is one hour in the server's local time. Tick the hours you want backups to fire on; untick everything to run manually only. Preset buttons set common patterns (midnight only, twice daily, every six hours).

If every site in your fleet lives on the same server, one or two hours is usually enough. If backups run during peak traffic on a busy server, visitor requests queue behind the backup's I/O for a few seconds; move the schedule to a quieter hour.

Remote targets

Remote targets are off-server destinations the panel ships every successful archive to. Two kinds are supported today:

  • SFTP: any host that accepts SSH key auth and has writable space. The simplest off-site path if you already have a storage server.
  • S3-compatible: AWS S3, Backblaze B2 (S3 API), Wasabi, Cloudflare R2, MinIO, and anything else that speaks the S3 protocol. Needs an access key, secret, endpoint, region, and bucket.

Each target gets its own path prefix (archives land at <prefix>/websites/<uid>/<file>), its own daily/weekly retention, and an enabled toggle. Drag the handle on a row to reorder; the order sets which target gets shipped to first. Disable a target to stop new ships without losing its configuration.

The Add remote target dialog: the backend picker for SFTP, S3-compatible or rsync, a display name, the endpoint, bucket and region, the access keys, and the remote path prefix Delete local files after remote transfer: when every enabled remote target has confirmed a successful ship, the local archive is removed. This is how a lightweight local backup server stays lightweight. The hourly backup cron also runs a retroactive sweep that catches any shipped-but-still-local archives from older bugs.

Where backups live on disk

Each backup server lays archives out under /backups as:

/backups/
├── websites/<uid>/<timestamp>.tar.*
├── databases/<uid>/<dbname>-<timestamp>.sql.*
└── emails/<uid>/<mailbox>-<timestamp>.tar.*

Nothing on this layout needs editing by hand. The panel treats /backups as opaque storage; it reads the manifest inside each archive to figure out what is in it.

Do not delete archives from /backups manually. The panel tracks every archive in its backups database; a manual rm leaves the row behind, and the next Backups page load shows a phantom entry that fails on restore.

Something went wrong

If a backup did not ship, did not clean up, or did not run at all, the Troubleshooting section has the specific symptom-and-fix flow for each case.

Overview

When something is not working as expected, this section walks you through the symptom first and the fix after. Everything here is a real failure mode operators have hit on production fleets, with the exact command or panel click that resolves it. If none of these match your issue, open Servers > <server> > Logs and look at the commands log for the panel plus the per-service log for whichever role is misbehaving.

Many of the symptoms below can be auto-detected. Open Shield > Audit and run the audit against the affected server. Clock skew, SSL expiry, kernel toggles, SUID surprises, SSH config regressions, and disk-space pressure all surface there with one-click auto-fixes.

A website is not resolving

You visit the site and the browser says "server not found" or "DNS address could not be found". That is almost always a DNS problem, not a web-server problem. Work through these in order:

  1. Is the zone in the panel? Open Domains. If the domain is not listed, add it, then come back.
  2. Does the apex have an A record pointing at the right IP? Open the zone's records table. There should be an @ A record pointing at the web server's public IP. If it is missing or wrong, add or fix it. Save takes effect in about one second on your own nameservers.
  3. Are the public nameservers correct at the registrar? From a terminal: dig +short NS yoursite.com. The result should match the nameserver hostnames you configured in Settings > Nameservers (DNS). If it does not, the registrar still has old nameservers.
  4. Did the TTL on the old record expire yet? If you just moved DNS, resolvers everywhere are still caching the old answer for however long the previous TTL was.
UPCP's authoritative resolver (Heimdall) reloads within about a second of any record change. Any delay longer than that lives at the public resolver cache, not in your panel.

A website resolves but returns an error

DNS works but you get a 502, 503, 504, blank page, or a PHP fatal. Diagnose by looking at the right layer:

  • 502 / 503 / 504: the web server (NGINX, Apache, Sleipnir, or OpenLiteSpeed) can reach the panel's proxy but the PHP-FPM container behind it is unresponsive. On the server, run unicorn podman list-containers and look for the site's uid. If it is not Up, run unicorn podman recreate-container <uid> to rebuild it from the panel's stored settings.
  • Blank page or "Internal Server Error": Open Websites > <site> > Logs and switch the log picker to the PHP error log. The last few lines will name the file and line that crashed.
  • SSL warning in the browser: the certificate has not issued yet, has expired, or is for the wrong hostname. See the SSL section below.
  • Config test failure: run unicorn <proxy|nginx|apache> test on the server. If it reports a syntax error, the config was edited manually. Fix the referenced line or revert the file and run unicorn <service> reload.

SSL certificate did not issue or renew

Open Websites > <site> > SSL Certificate. The card tells you what state the cert is in. Common causes of a stuck SSL:

  • The A record does not resolve yet. ACME HTTP-01 needs public DNS pointing at your web server before Let's Encrypt will issue. Check DNS first (section above).
  • Port 80 is blocked. ACME HTTP-01 reaches the server over plain HTTP, not HTTPS. If something upstream (cloud firewall, provider edge) blocks 80, issuance fails silently. Verify with curl -v http://yoursite.com/.well-known/acme-challenge/test from an external machine. You should get a 404 from NGINX, not a timeout.
  • Rate limit hit. Let's Encrypt rate-limits per-domain. The SSL card shows the next renewal window; the panel refuses to re-request before then so you do not burn an hour-long cooldown.
  • A CAA record restricts issuers. Check the zone for a CAA record. If present, it must include letsencrypt.org as an allowed issuer.
If a site has issued SSL fine and then renewal starts failing weeks later, the usual cause is someone added a redirect rule that catches /.well-known/acme-challenge/*. ACME challenge paths must return the raw challenge file, not a redirect.

Panel cannot reach a secondary server

Servers > <server> shows the server as unreachable, or Dashboard says "N servers unreachable". Three possibilities, in order of frequency:

  1. Clock skew. If the secondary's clock has drifted more than a few seconds from the primary's, the API-key signature verification fails because the signed timestamp lands outside the acceptance window. Fix: open Shield > Audit, run against the affected server, click the auto-fix on clock-skew.
  2. Shield banned the primary's IP. If your primary panel does something that looks like scanner traffic to the secondary's Shield (empty User-Agent on a background call, a burst of 4xx responses), the secondary bans the primary. Fix: SSH to the secondary and run unicorn shield unban <primary-ip>, then investigate why Shield fired. The upcp-nginx-malicious jail flags empty User-Agents by default; pre-1.0.14 panels sometimes trip it on /validate or /billing/estimate calls.
  3. Upstream network path broken. The provider edge (DDoS filter, null route, routing table) is dropping packets between the two IPs. Diagnose: from the primary, run timeout 5 nc -zv <secondary-ip> 8727 and timeout 5 ping -c 2 <secondary-ip>. If ping works but TCP:8727 times out, you have an asymmetric route somewhere and need to open a ticket with the provider.
Secondaries can register in a few seconds, and clock-skew-induced "unreachable" states usually clear within a minute of running the audit auto-fix.

Mail is not being delivered

Mail is the most interconnected feature in the panel. Four moving parts: panel DNS, outbound port 25, DKIM signing, and recipient-side spam filtering. Work the checks in this order:

  1. Outbound 25 is open. Most residential and many cloud networks block outbound 25 by default. From the server: timeout 5 nc -zv aspmx.l.google.com 25. If that times out, your provider is blocking the port and you cannot send to anyone until they lift it.
  2. PTR (reverse DNS) matches your HELO hostname. From any public resolver: dig +short -x <your-mail-server-ip>. The result should match the hostname your mail server identifies as. Most providers let you set the PTR record in their control panel.
  3. DKIM is published. Open Emails > <mailbox> > DKIM record. Copy the mail._domainkey TXT value and paste it into the zone's DNS records if it is not already there. DKIM must round-trip through public DNS, not just live inside the panel.
  4. SPF covers your mail server's IP. The TXT record at the apex should include v=spf1 ip4:<your-mail-ip> ~all or a mx ~all, matching the IP outbound mail actually sends from.
  5. DMARC is published. A permissive _dmarc TXT of v=DMARC1; p=none; rua=mailto:you@example.com is enough to pass the vast majority of recipient filters; stricter policies come later.
Open Tools on any server with the mail role and run Mail hygiene audit. It dig-checks SPF, DKIM, DMARC, MX, and PTR for every domain hosting mailboxes on that server and reports gaps.

A backup did not ship or did not clean up locally

Open Backups. Each row shows a "Shipped to N remotes" badge once a successful remote transfer completes.

  • The row shows "0 of N" or a target name in red: open the row detail and look at the per-target error message. The common cases are expired S3 credentials, a wrong path prefix, or an SFTP target whose host key changed.
  • Shipped successfully but local disk is not reclaimed: the "Delete local files after remote transfer" setting must be on, AND the ship must have confirmed all targets ok. The retroactive sweep in the hourly backup cron catches any shipped-but-orphaned archives from older bugs; a 1.0.14 fix made this bounded and reliable so a historical backlog drains within an hour of upgrade.
  • Local disk still full after a day: SSH in and look at /backups. If something is non-UPCP (an old manual tarball an operator left behind), it will not be in the backups table and the sweep will not touch it.

An upgrade failed partway

Running unicorn upgrade fails during extraction, a per-version script errored, or the panel is unreachable after an upgrade.

  1. Look at /opt/upcp/logs/commands.log. The walker logs upgrade run, upgrade fail, and upgrade ok entries with the version and exit code of the step that failed.
  2. Per-version scripts live at /opt/upcp/upgrades/<version>.sh. If one failed on a transient cause (apk mirror down, container not yet up, disk full), fix the cause and re-run unicorn upgrade; the walker is idempotent and will replay from the last-recorded version in /opt/upcp/misc/version.
  3. If the panel container will not start, rc-service upcp-cp restart and check /opt/upcp/logs/daemon.log for the podman error.
  4. If the install itself is wedged beyond repair, re-run the installer. The install script is version-aware and will land the latest release over the existing tree without touching tenant data.
UPCP does not keep a pre-upgrade snapshot of /opt/upcp in production. Releases are delta-only and the per-version scripts are written to be re-runnable, so the recovery path is "fix the cause and re-run", not "roll back the files".

A container is stuck or unresponsive

A tenant site, mail stack, or DB container is running but something inside it is wedged. The clean fix is to rebuild the container from the panel's stored settings:

  • unicorn podman list-containers: shows every container and its current status.
  • unicorn podman restart-containers: cycles every tenant container without rebuilding. Fast, low-impact.
  • unicorn podman recreate-container <uid>: rebuilds one container from panel settings. Keeps the home directory and the database; replaces the runtime image and config.
  • unicorn podman recreate-containers: rebuild every tenant container on this server. Local only, not fleet-wide. Slow; only run during a maintenance window.
  • unicorn root fix-permissions: resets ownership and permissions across /opt/upcp after a manual edit went wrong.
  • unicorn websites fix-permissions <uid>: scoped to one site's home directory. Fixes an "I ran chown as the wrong user and now nothing works" scenario.

Disk is full on a server

The disk-space check in Shield Audit fires at 85% warn and 95% fail. Typical reclaim steps:

  • Dangling container images: run unicorn tools prune-images. Catches images from previous panel versions nothing is using any more.
  • Orphaned backups: see the backup section above; the hourly cron catches these automatically on 1.0.14+.
  • Log rotation stalled: look at /var/log/upcp/ and the service logs under /opt/upcp/services/*/logs/. Each service rotates its own logs; a stuck rotation shows up as one log file that is many GB.
  • A single tenant blew out their quota: run unicorn tools recalculate-disk to resync the panel's cached figures with reality, then Dashboard > Websites by disk usage names the top site.

Shield / WAF is flagging legitimate traffic

You see an attacker row in Shield > WAF that is actually a real admin logging in, a background panel self-call, or a known-good crawler. On 1.0.14+, the wp_probing, pma_probing, and admin_probing rules only match requests that returned 4xx or 5xx. If an older panel is still flagging legitimate 200s to admin-ajax.php or wp-login.php, upgrading will clear the historical noise (there is a one-shot cleanup in the 1.0.14 upgrade hook that prunes the backlog). If a specific IP keeps getting banned by the upcp-nginx-malicious jail on an empty User-Agent, that IP is almost certainly a panel-to-panel self-call missing a UA header. 1.0.14+ panels set a UA on every outbound call; pre-1.0.14 panels will stop tripping it once they upgrade.

Clock skew keeps coming back after a fix

Running the Shield Audit auto-fix on clock-skew steps the clock back to NTP time via a built-in SNTP client. On KVM-based VPSes, the hypervisor's own kvm-clock can periodically push the time back to whatever the host thinks it is. If skew returns within an hour of a fix, check if the host provider's hypervisor is syncing time to a different source; usually the fix is to disable the guest's kvm-clock passthrough and let the panel's periodic SNTP sync own time.

UPCP's clock-skew auto-fix bypasses busybox ntpd's 128-second step cap. If the clock is more than two minutes off, the fix still works; a plain busybox ntpd -q would silently refuse to step and the audit re-run would still show fail.

The unicorn CLI

Every operator action in the panel runs through one static binary at /usr/local/bin/unicorn. The CLI is grouped by subsystem; every subcommand below is safe to run on a live production server unless marked otherwise. Reload commands do not drop traffic; restart commands cycle the container.

The CLI prints help for any level: unicorn, unicorn shield, unicorn backups, and so on. If you forget a subcommand, start there.

Panel

  • unicorn upgrade: pull the latest release from update.unicornpanel.com, verify the license, extract over /opt/upcp, run per-version upgrade scripts, and restart services. Delta-only; the walker is idempotent, so a failure can be re-run after the cause is fixed.
  • unicorn cp reload <web|app|cron>: reload one layer of the panel without restarting the container. web reloads NGINX inside upcp-cp, app reloads PHP-FPM, cron reloads supercronic.
  • unicorn root reset-admin-password: reset the panel password for the very first user (account id 1). Generates a random 20-character password, writes the hash to the database, and prints the cleartext to the terminal once. Must be run as root at a real console; non-TTY and non-root invocations are refused.
  • unicorn root fix-permissions: reset ownership and modes across the entire /opt/upcp tree, re-install the /usr/local/bin/unicorn binary and the setuid SSH shim from the shipped sources, and refresh the daily cron and logrotate symlinks. Safe to re-run.

SSH

UPCP's SSH entry point routes tenant sessions through a setuid shim at /opt/upcp/misc/bin/upcp-ssh-shim, which podman execs each tenant into their own container. Root and anyone in the upcp-privileged group bypass the shim and land on the host as usual. The commands below manage that group membership and the shell field in /etc/passwd.

  • unicorn ssh privileged-add <user>: grant shim-bypass by adding the user to the upcp-privileged group. Their next SSH session lands on the host directly, same shape as root. Refuses tenants whose home directory sits under /opt/upcp/containers/, since that would hand a tenant a host shell.
  • unicorn ssh privileged-remove <user>: revoke shim-bypass. Next SSH session routes through the shim again.
  • unicorn ssh privileged-list: print current upcp-privileged members.
  • unicorn ssh set-nologin <user>: change a system account's login shell to /sbin/nologin. Safe one-step remediation for the nologin-shells finding in Shield > Audit. Refuses to touch root, tenants, uid ≥ 1000, and the classic command-shell accounts (sync, halt, shutdown, reboot). Rewrites /etc/passwd atomically under /etc/.pwd.lock.

UPCP Proxy

  • unicorn proxy test: test the NGINX config inside the proxy container.
  • unicorn proxy reload: reload NGINX in-place without dropping connections.
  • unicorn proxy restart: restart the proxy container. Momentary 502 while NGINX comes back.

Web servers

Per-engine CLI entry points. The engine must be enabled on the server (Servers > <server> > Roles) for the command to do anything.

  • unicorn nginx test, reload, restart: NGINX inside the tenant-serving container.
  • unicorn apache test, reload, restart: same shape for Apache.
  • unicorn uws test, reload, restart: same shape for Sleipnir (the upcp-uws engine).
  • unicorn php ping, test: health check and config-test for the installed PHP-FPM containers. No reload/restart here; cycle the container via unicorn podman if that is what you need.
  • OpenLiteSpeed does not have its own CLI group. OLS reloads are driven from inside unicorn websites operations via podman exec upcp-ols lswsctrl reload. For a manual nudge, run that command directly.

Containers

  • unicorn podman list-containers: list every container the panel manages with its current status (running, stopped, restarting).
  • unicorn podman restart-containers: cycle every tenant container without rebuilding. Fast; one momentary interruption per container.
  • unicorn podman recreate-container <uid>: rebuild one tenant's container from the panel's stored settings. Keeps the home directory and the database; replaces the runtime image and the podman config. Recreating a container is generally safe but it cycles that one tenant for ~5 seconds. Avoid during peak hours when possible.
  • unicorn podman recreate-containers: same, for every tenant container on this server. Local only, not fleet-wide. Slow (10+ minutes on a busy server). Only run during a maintenance window.

Websites

  • unicorn websites fix-permissions <uid>: reset file ownership inside one tenant's home directory. The one-line fix for "I ran chown as the wrong user and now nothing works."

Backups

Panel-triggered actions are preferred over direct CLI (the per-site Backups page handles chaining and metadata correctly). The CLI exists for debugging and for cases where the panel cannot reach the backup service.

  • unicorn backups run-one <uid> <opts-json>: run a daily backup for one site. The panel's hourly backup cron calls this.
  • unicorn backups run-weekly <uid> <opts-json>: run the weekly rollup.
  • unicorn backups prune-uid <uid> <opts-json>: apply daily + weekly retention to one site's local archives.
  • unicorn backups local-purge <resource> <uid> <fn>: remove one local backup archive after a confirmed remote ship.
  • unicorn backups remote-ship <payload-json>: push one archive to every enabled remote target. The panel wraps this with per-row metadata.
  • unicorn backups stat <path>: existence + size + mtime check used by the stranded-cleanup sweep.

DNS (Heimdall)

Heimdall is UPCP's authoritative DNS daemon. The CLI group is udns.

  • unicorn udns import-zone <file> <domain>: write one BIND-format zone file to disk and reload the daemon.
  • unicorn udns delete-zone <domain>: remove one zone file and reload.
  • unicorn udns get-zone <domain>: emit the current zone file for the given domain to stdout. The Export Zone button in the Domains kebab calls this.
  • unicorn udns reload: reload Heimdall in-place. No dropped queries.

DNSSEC

  • unicorn dnssec sign-zone <domain>: generate signatures for a zone and write the .signed overlay. Panel-driven on save.
  • unicorn dnssec discard <domain>: remove per-zone keys and the signed overlay. Run after the operator confirms the DS record has been removed at the registrar for at least 24 hours.

Shield

UPCP's firewall, intrusion-prevention, FIM, WAF, audit, vulnerability, and threat-intel surfaces all live under unicorn shield. Panel-driven for day-to-day; CLI for debugging and automation.

Bans

  • unicorn shield ban <ip> <jail> <reason>: manually ban an IP in a named jail with a free-text reason. Positional only; the ban duration comes from the jail's own configuration.
  • unicorn shield unban <ip>: remove an IP from every active jail.
  • unicorn shield get-banned: emit the full ban list as JSON. The Firewall tab in the SPA aggregates this across the fleet.

FIM (File Integrity Monitor)

  • unicorn shield fim-scan: hourly scan comparing watched paths against the baseline. Hourly cron calls this.
  • unicorn shield fim-scan --verify: deep verification pass. Daily cron.
  • unicorn shield fim-baseline: establish or re-establish the baseline hashes for every monitored path. Run once on install; FIM calls this itself after a scope change.
  • unicorn shield fim-accept <id>[,<id>...]: accept one or many FIM events, updating the stored baseline so the next scan does not re-flag them.
  • unicorn shield fim-investigate <id>[,<id>...]: mark events as investigated without changing the baseline.

WAF

  • unicorn shield waf-cron: hourly scan of the proxy's access and error logs. Writes classified events to the WAF database.
  • unicorn shield waf-backfill-history: one-shot backfill of the last 7 days from existing logs on first install.

Audit

  • unicorn shield audit: run every CIS-style check against the server. Emits JSON.
  • unicorn shield audit-fix <check-id>: apply the auto-fix for one failing check and re-run just that check. The Shield Audit page calls this on the one-click fix buttons.
  • unicorn shield audit-force-clock-step: force-step the system clock to NTP time via a built-in SNTP client. Bypasses busybox ntpd's 128-second step cap. The clock-skew auto-fix calls this.

Threats (threat-intel + process anomaly)

  • unicorn shield net-threatintel-sync: refresh every enabled threat-intel feed and reload the nftables sets. 30-minute cron.
  • unicorn shield net-threatintel-sync --from-cache: cache-only reload (no upstream fetch). Used after feed toggle or scope change so the setting takes effect immediately without re-downloading every feed.
  • unicorn shield net-feed-toggle <name> <on|off>: enable or disable one feed fleet-wide.
  • unicorn shield net-feed-scope <name> <egress|ingress|both>: set a feed's firewall scope.
  • unicorn shield net-fleet-ips-sync: refresh the fleet-IP allowlist from the local servers table. 5-minute cron; prevents fleet-to-fleet traffic from accidentally hitting a threat-intel block.
  • unicorn shield net-container-ips-sync: refresh the container-IP to tenant-name cache, so an egress event names the tenant behind an address instead of showing a bare bridge IP.
  • unicorn shield net-ingest-egress: parse dmesg for threat-intel drop events and insert them as rows. Runs every 2 minutes via cron.
  • unicorn shield net-procscan: scan running processes for post-exploit shapes (reverse shells, cryptominer stratum, curl piped to shell). 5-minute cron.
  • unicorn shield net-prune: drop network_events rows older than 90 days and VACUUM when the deletion is large. Daily cron.

Vulnerabilities

  • unicorn shield vulnerabilities (alias vulns): parse the host's pending updates (apk list -u on Alpine, apt on Ubuntu) and cross-reference with that distribution's security database + OSV.

Antimalware

The Malware tab under Shield in the SPA drives the unicorn antimalware top-level command group. It is not a shield subcommand.

  • unicorn antimalware installed: list which scanners are present on this server (ClamAV, YARA) with their versions.
  • unicorn antimalware scan <uid>: scan one tenant's directories.
  • unicorn antimalware cancel <uid>: cancel a running scan for one tenant.
  • unicorn antimalware sigupdate: refresh ClamAV virus signatures.
  • unicorn antimalware quarantine <uid> <path>, restore <uid> <quar> <orig>, whitelist <uid> <path>, unwhitelist <uid> <path>, delete <uid> <path>: operator actions on detected items. The SPA calls these from the Malware tab's row actions.

Firewall

  • unicorn firewall sync: regenerate every DNAT and allow rule from the panel's firewall database and reload nftables. Runs automatically on container start / stop via openrc hooks; CLI exists for debugging a rule-drift state.

Roles

  • unicorn roles enable <role>: enable one role on this server. The Servers page calls this on the role toggle.
  • unicorn roles disable <role>: disable one role on this server. The container stops; data on disk is not touched.
  • unicorn roles list-images: enumerate the container images shipped for every role.

Hermes mail (UES)

  • unicorn ues dkim-record <domain>: print the full mail._domainkey TXT value to publish in DNS for this domain. The Emails page displays the same string with a Copy button.

Tools

  • unicorn tools prune-images: remove dangling and orphaned podman images. Safe to re-run.
  • unicorn tools recalculate-disk: re-scan every tenant's disk usage and update the panel's cached figures. Run after a bulk import.
  • unicorn tools recalculate-quotas: re-apply filesystem quotas from the panel's stored state.
  • unicorn tools update-cdn-ips: refresh the trusted-IP ranges for Cloudflare and BunnyCDN so the reverse proxy sets $remote_addr correctly for the real client IP.

Where to find more

  • Service logs: /opt/upcp/services/<service>/logs/ for each service's own log; /var/log/upcp/ for openrc supervisor combined logs.
  • Unicorn commands log: /opt/upcp/logs/commands.log. Every unicorn invocation lands here, including upgrade phases, firewall syncs, and Shield actions.
  • Cron log: /opt/upcp/logs/cron.log.