Your first server
Finish the basic setup after installing ScalPanel - contact details, panel hostname and certificate, nameservers, web server and more servers.
After the installer finishes, the server already hosts websites, mail, DNS and databases. This page covers the settings to check before the first customer arrives. Sign in to the admin panel as admin on port 2087.
Basic setup
Open Basic setup, the first entry in the admin panel's menu. It holds the essentials on one page, and each card saves on its own.
- Contact information
- Contact email addresses: up to 10 addresses that receive the server's alerts.
- Sender name of notification emails and Reply address: used on alerts, security notices, confirmations and password resets. The From address stays the server's own, so mail still passes SPF and DMARC.
- Shared IP addresses: the addresses new accounts' websites use, per server, with how many accounts use each one. New accounts are spread over them. You can add an address here; all addresses are listed under Servers → IP addresses.
- DNS and nameservers
- Nameserver 1 to Nameserver 4: the nameservers every new DNS zone gets. Changing them updates existing zones too.
- Record TTL (seconds): the TTL of the records in new zones.
- Nameserver TTL (seconds): the TTL of every zone's NS records (300 to 604800, default 3600).
- Fallback IPv4 address and Fallback IPv6 address: used only when a server has no shared address.
The panel hostname and its certificate
The server name you gave the installer is the panel hostname. The admin panel, the hosting panel and webmail use it: https://<hostname>:2087, :2083 and :2096.
Until the hostname points at the server, the panels use the installer's self-signed certificate. Once its DNS A record points at the server's public address, ScalPanel orders a certificate from Let's Encrypt automatically, within a few minutes, and renews it on its own.
To change the hostname later, run on the server:
sudo scalpanelctl set-hostname panel.example.net
This updates the server settings, writes a new fallback certificate and restarts the services. If the mail hostname followed the panel hostname, it changes too. Point the new name at the server, and the trusted certificate follows.
When the server's IP address changes
When your provider gives the server a new public IPv4 address, run on the server:
sudo scalpanelctl set-ip 192.0.2.10
ScalPanel then:
- binds its DNS and FTP services to the new address;
- changes the server's address under Nodes and the provider's web address in DNS settings, where they had the old one;
- points the A records of hosted zones that had the old address at the new one;
- writes a new fallback certificate.
The new address must already be configured on the server; behind NAT, add --force. Afterwards, point the panel hostname at the new address where its DNS is hosted elsewhere, and update the glue records of your nameservers at the registrar. If you edited SCALPANEL_PUBLIC_IP in /etc/scalpanel/scalpanel.env by hand already, add --from <old address>. scalpanelctl status warns when the address in the settings is no longer one of the server's.
The server's main address is shown under IP addresses with the Main badge. It cannot be deleted there; change it with set-ip, or under Nodes → the server → Public addresses when only the address websites answer on changes.
Hosting your own domain on the same server
You can name the panel under a domain you also host, for example the panel on zeus.example.com and your company website on example.com. The provider's staff may add the parent domain as a website or DNS zone. The panel hostname itself, and every name below it, stays reserved, and customers' accounts cannot add the parent.
The panels' session cookies are bound to the exact panel host name, so a website on the parent domain cannot set or read them.
Nameservers
The installer sets two nameservers: ns1. and ns2. followed by the server name. They are stored as SCALPANEL_NAMESERVERS in /etc/scalpanel/scalpanel.env. The names in Basic setup take precedence once you save them there.
The server answers DNS on port 53 of its public address. For customers to use it as their nameserver:
- Choose names, for example
ns1.example.comandns2.example.com, and enter them under Basic setup → DNS and nameservers. - At the registrar of
example.com, create glue records (sometimes called "child nameservers" or "host records") for both names, pointing at the server's public IPv4 address. - Customers then point their domains at these nameservers.
A single server answering both names is one point of failure. To keep DNS answering when this server is down, add secondary PowerDNS servers under DNS → DNS cluster. They copy every zone from this server automatically.
Tip: If you do not want to host DNS, customers can keep their DNS elsewhere. The hosting panel shows the records to create at their DNS provider.
Resellers with their own branding can set their own nameservers.
Choose the web server
Every website runs in its own container, behind the server's edge nginx. Inside the container, one web server serves the website. You choose it for the whole platform under Web & software → Web server.
| Web server | Notes |
|---|---|
| ScalWS | SCB Network's web server, included. Reads .htaccess itself. The default on new installations. |
| nginx | .htaccess is translated into nginx rules. A few Apache-only directives do not work. |
| Apache | Reads .htaccess exactly as on most shared hosting. Uses a little more memory. |
| nginx + Apache | nginx in front of Apache; Apache answers every request with .htaccess. |
| OpenLiteSpeed | For the LiteSpeed Cache plugin. Reads only rewrite rules from .htaccess; the panel applies access rules, password protection, headers and MIME types. |
| LiteSpeed Enterprise | Needs your own LiteSpeed license and site images you build and register first. |
| Custom web server | Your own web server, as a site image per PHP version that you build and register. |
Changing the web server applies every PHP website again. Each one restarts briefly. Static websites and Node.js, Python and Ruby applications keep nginx.
See Compatibility for versions.
PHP versions
The release includes PHP 8.2, 8.3, 8.4 and 8.5. Under Web & software → PHP versions you choose which versions customers may use, the default version, and which extensions are installed or on for every website. Install PHP adds a version from ScalPanel's signed runtime catalog when one is published between releases.
Firewall
The installer does not set up a firewall. Every published port is open to the internet. Under Security → Firewall you can block or allow addresses and networks for the whole server, limit ports to certain networks (for example the admin panel to your office), and limit new web connections per address.
The rules are applied before Docker's port forwarding, so they also cover the containers' ports. A host firewall such as ufw that filters only the input chain does not see Docker's published ports.
See Ports for what each port is for.
More servers
The installer sets up an all-in-one server: the panels, the databases, mail, DNS and one node, node-1, that runs the websites. Everything runs on one machine.
What you can add today:
- Database servers under Servers → Database servers: more MariaDB, PostgreSQL or MongoDB servers. Customers can then pick between versions. See Compatibility.
- DNS secondaries under DNS → DNS cluster.
- Mail servers under Email → Mail servers, for servers that run ScalPanel's mail image and that you operate yourself.
Note: Servers → Nodes can create a node and show its one-time enrollment bundle. A release does not include an installer for a separate node machine, and the all-in-one server does not publish the agent's endpoint outside the machine. Running websites on more than one machine is not a supported setup in the current release.
Servers can be removed from the same pages once they are empty: a node with no websites, a database server with no databases, and a mail server with no mail domains that is not the last one. Removing a server from the panel does not touch the machine or its data.
Next steps
Continue with Your first account.