Skip to content

Server Setup

Overview

enconf supports multi-server operation. The first server is automatically set up during installation. Additional servers can be added at any time.

Server Roles

Each server can have one or more roles:

Role Services Description
Standalone All Web + Mail + DNS on one server
Web Nginx, PHP-FPM, ProFTPD Website hosting
Mail Postfix, Dovecot, rspamd Email services
DNS PowerDNS DNS management
Database MariaDB Database server

Adding Another Server

Step 1: Add Server in the Panel

  1. Go to Settings > Server
  2. Click Add Server
  3. Enter:
    • Name: Display name (e.g. "Web Server 2")
    • Hostname: IP address or FQDN
    • Roles: Web, Mail, DNS, or Standalone

Step 2: Install the Agent

The panel generates an installation command. Run it on the new server:

curl -fsSL https://panel.example.com:3443/install/INSTALL-TOKEN | sudo bash

The agent will automatically:

  • Install and configure itself
  • Connect to the panel (TLS-encrypted)
  • Set up the selected roles (Nginx, PHP, Postfix, etc.)

Step 3: Verify Connection

After installation, the server will show the status Online (green dot) in the panel.

Server Information

Under Settings > Server > click on a server, you can see:

  • Hostname and Timezone (editable)
  • Operating System and Kernel
  • Installed PHP Versions
  • Service Versions (Nginx, MariaDB, Postfix, Dovecot, PowerDNS)
  • Restart Required (if a kernel update is pending)

Managing PHP Versions

Under Settings > PHP Versions you can:

  • View installed PHP versions
  • Install new PHP versions (8.0 – 8.4)
  • Remove PHP versions

The installation automatically includes all common modules (mysql, curl, gd, mbstring, xml, zip, intl, bcmath, imagick, redis, soap, opcache).