Linux distributions for a server: Ubuntu, Debian, AlmaLinux
For a server, the choice is most often between three free distributions: Ubuntu, Debian and AlmaLinux. All three are stable and suitable for a website or a bot; they differ in how long they are supported, in their packages and in which panels and programs officially run on them. According to the accsly.io catalog as of November 2026, all three images are offered by 631 of the 1,241 hosts whose template list is known.
A distribution is chosen for several years at once: upgrading to the next version is possible, but switching to another family essentially means moving to a new server. So the choice comes down not to taste but to three questions: how many years the version will receive security updates, whether the programs and panel you need run on it, and how comfortable you are working with it.
Support periods
A server without security updates must not stay exposed to the internet, so the end-of-support date is the deadline by which the server has to be upgraded or rebuilt.
- Ubuntu LTS. Long-term support releases come out every two years in April. According to Canonical's schedule, each one gets 5 years of standard security updates, 10 years with an Ubuntu Pro subscription and up to 15 with the Legacy add-on. Standard support for Ubuntu 22.04 ends in May 2027, for 24.04 in May 2029 and for 26.04 in May 2031. Interim releases (such as 25.10) are supported for only 9 months and are not installed on servers.
- Debian. A new stable release comes out roughly every two years. For three years it is supported by the Debian security team, and for two more by the Debian LTS project. Debian 11 stopped receiving updates on 31 August 2026. Debian 12 moved to LTS in June 2026 and is supported until 30 June 2028. Debian 13 was released on 9 August 2025, with full support until 9 August 2028 and LTS until 30 June 2030.
- AlmaLinux. A free distribution that is binary-compatible with Red Hat Enterprise Linux, with a 10-year cycle for each major version. According to the project, AlmaLinux 8 receives security fixes until 31 May 2029, AlmaLinux 9 until 31 May 2032 and AlmaLinux 10 until 31 May 2035. Rocky Linux is another free RHEL-compatible distribution.
A separate word on CentOS. CentOS Linux 8 stopped receiving updates on 31 December 2021, and CentOS Linux 7 on 30 June 2024. CentOS Stream is not a long-term support replacement but the platform where future RHEL versions are prepared. Hosts keep the CentOS template for legacy projects; a new server should not be built on it, and existing ones are migrated to AlmaLinux or Rocky Linux.
Upgrading to the next version
When the support period is coming to an end, a server has two options: upgrade in place, or install a new system alongside and move the site to it. Each distribution has its own rules for in-place upgrades.
- Ubuntu is upgraded with the
do-release-upgradecommand. According to the Ubuntu Server documentation, an upgrade from one LTS to the next is only offered after the first point release: 24.04 will upgrade to 26.04 once 26.04.1 is out. Third-party repositories and PPAs are disabled during the upgrade, and they are the most common source of problems. - Debian can only be upgraded from the previous version: you move to 13 from 12, and from 11 via 12. The Debian 13 upgrade guide recommends a full backup and running the upgrade inside
screenortmux, so that a dropped SSH connection does not interrupt it halfway. - AlmaLinux has no built-in upgrade path between major versions. That is handled by the separate ELevate project, which upgrades systems from 8 to 9 and from 9 to 10, and also migrates CentOS 7 to AlmaLinux. On a server with a panel, it is simpler to install the new version alongside and move the sites.
The practical conclusion: when buying a server, take the newest LTS version that your panel and programs support, so that more years pass before the next move.
Packages and day-to-day work
Ubuntu and Debian belong to the same family: .deb packages, the apt package manager, the same configuration paths, and almost every guide on the internet works for both. Debian is more conservative: in a stable release, program versions are frozen for the whole support period and only fixes are added. Ubuntu is based on Debian but follows its own schedule and more often ships newer versions. For example, the system Python is 3.12 in Ubuntu 24.04, 3.11 in Debian 12 and 3.13 in Debian 13.
AlmaLinux uses .rpm packages and the dnf manager; the default firewall is firewalld, and SELinux is enabled by default and needs configuring if the site's files live in non-standard paths. Many programs are missing from the main repositories and are installed from the EPEL repository. On the other hand, RHEL instructions apply almost unchanged, and some commercial server software targets RHEL-compatible systems specifically.
Control panels
If the server will run a panel, choose the distribution from the panel's list of supported systems, including the version number: panels do not support new releases right away.
- cPanel runs on AlmaLinux, CloudLinux, Rocky Linux and Ubuntu; Debian is not on the list.
- ISPmanager supports AlmaLinux 8–10, Debian 12–13, Ubuntu 22.04–26.04, Rocky Linux 8 and CloudLinux. An important caveat from the same documentation: upgrading a server with the panel installed to the next major OS version is not supported, so choose a version with plenty of support time left.
- FASTPANEL, according to its installation guide, installs on Debian up to 12, Ubuntu up to 24.04, AlmaLinux 8 and Rocky Linux 8; Debian 13 and Ubuntu 26.04 are not on the list yet.
A detailed comparison of panels is in the article Server control panels: ISPmanager, FASTPANEL, aaPanel.
Which images hosts offer
According to the accsly.io catalog as of November 2026, the list of OS templates is known for 1,241 of 2,247 VPS hosts. Of these, Ubuntu is offered by 1,030, Debian by 976, CentOS or CentOS Stream by 795, AlmaLinux by 705 and Rocky Linux by 422. Almost everyone offers Ubuntu and Debian, while RHEL-compatible systems are noticeably rarer, so if you specifically need AlmaLinux, it is easier to start with the selection VPS with AlmaLinux. Plans with other systems are on the pages VPS with Ubuntu, VPS with Debian and VPS with Rocky Linux.
Check the version too: templates sometimes still include releases that are out of support, and new ones appear with a delay. If the version you need is missing, some hosts let you install the system from your own ISO image; according to the catalog, 287 hosts have such plans, collected in the selection VPS with a custom ISO.
What to choose for your task
- A website. Without a panel, Ubuntu LTS or Debian: they have the most guides for nginx, PHP and databases. With a panel, whatever it supports; for cPanel that means AlmaLinux or Ubuntu.
- A bot or script. Ubuntu LTS: recent Python and Node.js versions in the packages and the largest number of ready-made guides. More on servers for bots in the article VPS for a Telegram bot: what the bot needs and how to pick a plan.
- 1C. The 1C:Enterprise server officially supports Debian 10–12, Ubuntu 20.04–24.04, Red Hat Enterprise Linux and Oracle Linux 8–9, as well as the Russian distributions Astra Linux, Alt and RED OS. AlmaLinux is not on this list, and neither are Debian 13 and Ubuntu 26.04 yet. For 1C, choose a system from the list, such as Ubuntu 24.04 or Debian 12. If your databases run on Windows, see the article Windows VPS for 1C.
- Docker. Official Docker Engine packages are released for Ubuntu, Debian, RHEL, CentOS and Fedora; for Ubuntu, 22.04, 24.04 and 26.04 are supported. Ubuntu LTS and Debian are the simplest choice. Keep in mind that Docker opens container ports with its own rules, and ufw restrictions do not apply to them; details are in the article Docker on a VPS: getting started.
If in doubt, take the latest Ubuntu LTS or Debian stable that your panel or program supports. After installing the system, go through the first steps to secure the server and decide in advance how you will install updates; that is the subject of the article Updating a server without downtime.