If your cPanel server still runs Rocky Linux, the decision is no longer whether you should migrate. It is how. For most clean Rocky 9 servers, an in-place conversion to AlmaLinux is the fastest path back to a supported state. For older Rocky 8 systems, heavily customized stacks, or customer-facing servers with years of drift, a fresh AlmaLinux rebuild is usually the safer long-term move.
What changed after v134
As of March 2026, cPanel’s Rocky Linux cutoff is an active operational problem, not a future warning. If you stay on Rocky, you are effectively freezing your cPanel layer in place and accepting growing risk around missed panel updates, delayed fixes, and a shrinking path back to normal maintenance. Our earlier explainer on cPanel dropping Rocky Linux in version 134 covers the baseline change. This article answers the harder question: should you convert the current server in place, or rebuild on a fresh AlmaLinux target and migrate into it?
The answer depends on package hygiene, major-version goals, rollback options, and how much customer-facing risk you can tolerate. This is the same distinction behind any serious infrastructure change: a server update versus a server upgrade is never just about packages. It is about blast radius, recovery speed, and whether you trust the current machine enough to keep it as the foundation.
The short decision rule
Choose an in-place Rocky to AlmaLinux conversion when the server is healthy, the package set is close to standard cPanel expectations, and you want the fastest route to a supported OS with minimal disruption.
Choose a fresh rebuild when the server is carrying years of manual changes, third-party repositories, custom kernels, unclear rollback options, or when you are using this forced migration as the right time to clean up the stack, move to a new major release, resize the VPS, or change how accounts are organized.
- Convert in place if you want speed, your current server is stable, and you can tolerate a maintenance window centered around one reboot and post-check validation.
- Rebuild fresh if you want the cleanest state, better auditability, or a safer path for old and messy systems.
- Do not stay on Rocky as a steady state unless you are actively scheduling the migration and deliberately accepting short-term risk.
When an in-place conversion is the right call
In-place conversion is the pragmatic option for many single-server cPanel deployments. If the box is already performing well, mail is stable, backups are consistent, and your customizations are limited, replacing Rocky packages with AlmaLinux packages is usually the most efficient route. You keep the same filesystem layout, the same accounts, the same cPanel installation, and usually the same IP configuration. For a production VPS where downtime must stay tight, that matters.
This is especially true on Rocky 9. If your goal is simply to get back onto a cPanel-supported operating system with the least operational churn, same-major conversion is usually rational. You are solving the immediate support problem without introducing a second project.
- The server is already on Rocky 9 and otherwise healthy.
- You have hypervisor snapshots or a proven full-image backup.
- You have console access and do not depend only on SSH.
- You are not carrying unusual kernel modules or low-level storage customizations.
- Your cPanel install is close to vendor defaults, with limited third-party RPM drift.
- You need the fastest route back to normal patching.
For many businesses, that is the right answer. It is also often the least expensive answer because you are not standing up a second server for days while you validate cutover. If you need a suitable target environment for testing or a parallel fallback plan, our virtual servers page covers the VPS options typically used for this kind of migration window.
When a fresh rebuild is the safer move
A forced migration is sometimes the first honest moment an admin has had with an old cPanel server in years. If the box has been patched reactively, inherited from a previous provider, stuffed with abandoned repositories, or manually edited beyond easy audit, converting in place preserves every hidden compromise and every forgotten workaround. That is where a fresh rebuild wins.
A rebuild is also the better choice when you are on Rocky 8 and want to land on a newer long-term base rather than do a same-major conversion first and then stack a major OS upgrade on top of it. cPanel’s refreshed ELevate guidance matters here, but so does realism. A same-major convert followed by a major-version elevation can work. It also means more moving parts, more reboots, and more chances for edge-case breakage. If the server is critical and the estate is messy, building a clean AlmaLinux target and migrating accounts into it is often the lower-risk business decision.
- The server is on Rocky 8 and you want to end on AlmaLinux 9 or 10, not just survive today.
- You have many third-party repositories, custom RPMs, or unsupported kernel modules.
- The machine has years of configuration drift and no one fully trusts its state.
- You want to resize, re-IP, reorganize accounts, or clean up technical debt during the move.
- You run a high-value multi-account environment where predictability matters more than speed.
- You want staged validation on a parallel system before customer cutover.
Preflight blockers that should stop a same-day conversion
Do not treat conversion as a routine package update. Stop and reassess if you find any of the following:
/bootis tight on free space.- Console access is unavailable or untested.
- Backups exist on paper but have not been restored recently.
- Third-party repositories are still enabled and actively supplying core packages.
- Custom kernels, RAID tooling, or out-of-tree modules are installed.
- cPanel package integrity checks are already failing.
- You cannot explain how mail, DNS, SSL renewal, and backups will be validated after reboot.
- You do not have a clean rollback point.
A practical preflight on the source server usually starts with checks like these:
cat /etc/os-release
/usr/local/cpanel/cpanel -V
df -h /boot
dnf repolist
rpm -qa | egrep 'kmod-|kernel|imunify|cloudlinux|ea-|alt-'
/usr/local/cpanel/scripts/check_cpanel_pkgs --fix
If those results already look noisy, a rebuild starts to make more sense. If they look clean, conversion remains a strong candidate. If you hit bootloader or kernel concerns, review your recovery posture the same way you would for a serious reboot-sensitive incident such as the cases discussed in our kernel panic analysis guide.
Rollback points and customer cutover logic
This is where many migrations fail. Admins focus on the package action and neglect the customer-facing sequence around it.
- Rollback point one: create a full hypervisor snapshot or image-level backup immediately before the change.
- Rollback point two: generate current cPanel account backups for business-critical users.
- Rollback point three: document service validation steps before you touch the OS.
For an in-place conversion, customer cutover is simple because there is no new destination hostname or DNS move. Your real risk is service regression after reboot. Validation needs to cover websites, mail flow, DNS zones, AutoSSL, backups, cron jobs, and cPanel service health before you declare success.
For a rebuild, the cutover logic is more deliberate. Lower DNS TTL well in advance. Build the target AlmaLinux server. Restore accounts through WHM transfer or cPanel backups. Validate sites through hosts-file testing or temporary preview methods. Then move traffic during a planned window. Rebuilds can take longer to prepare, but they give you a controlled exit if the new server does not validate cleanly.
A practical migration path for each scenario
Scenario 1: Rocky 9, clean server, low drift
Convert in place. That is usually the fastest sensible decision. Keep the project narrow: back up, convert to AlmaLinux, reboot, validate services, then move cPanel forward once the OS is confirmed healthy. Do not mix unrelated cleanup into the same maintenance window.
Scenario 2: Rocky 8, old server, unclear package history
Rebuild fresh on a supported AlmaLinux release and migrate accounts into it. This is where “fresh is slower” can be misleading. A rebuild often reduces total risk because you are no longer trusting years of accumulated drift. If the old server also needs a resource refresh, use the migration as the point to right-size the destination. Our guide on choosing the right VPS plan is useful when you need to stop guessing and size the target properly.
Scenario 3: Rocky 8, clean server, but you want AlmaLinux 9
You have two real paths. One is same-major conversion first, then a controlled major-version lift with ELevate. The other is a fresh AlmaLinux 9 build and account migration. The first path is attractive if the server is clean and the account layout is simple. The second path is usually better if uptime sensitivity is high, the account count is large, or you want a cleaner operational handoff when the migration is finished.
Common mistakes that create avoidable downtime
- Treating the OS change like a normal overnight patch cycle.
- Skipping console access checks before reboot.
- Leaving third-party repos enabled and hoping dependency resolution behaves.
- Combining panel updates, OS conversion, PHP changes, and mail tuning in one window.
- Failing to test customer-visible services after the system comes back.
- Assuming “web is up” means the migration is done.
A good rebuild plan also avoids dragging old stack problems into the new machine. If you are already reconsidering whether cPanel is still the right panel, compare the operational tradeoffs in our DirectAdmin vs cPanel comparison. If your real goal is a cleaner application layer after migration, review our notes on PHP 8.5 and Nginx tuning for high-traffic VPS workloads once the platform move is complete.
ServerSpan’s recommendation
For most cPanel servers on Rocky 9, convert in place to AlmaLinux and keep the project tight. That is the fastest route back to a supported operating system, and it usually keeps downtime limited to the maintenance window you planned.
For Rocky 8 servers, older environments, and business-critical multi-account stacks, rebuild fresh more often than you first think. The extra planning time usually buys you a cleaner operating baseline, easier rollback logic, and a better long-term outcome than stacking conversion, elevation, and cleanup on top of one another.
If you want the shortest safe path, use a clean ServerSpan VPS as the destination or fallback environment and treat the migration as a controlled project, not an emergency shell session. If you want help executing the move, our cPanel management service is the natural fit for cPanel-specific migrations and validation. If this forced decision is making you realize you do not need root access or panel-level complexity at all, standard web hosting is often the simpler and cheaper answer.
The wrong move is delay without a plan. The right move is to decide which risk you prefer: the controlled risk of an in-place conversion on a healthy server, or the controlled cost of rebuilding clean on AlmaLinux and cutting over on your terms.
Written by ServerSpan SysAdmin Team, SysAdmin Team - ServerSpan
The ServerSpan SysAdmin Team writes and reviews production hosting guidance for Linux operations, control panels, migrations, and server recovery.
Source & Attribution
This article is based on original data belonging to serverspan.com blog. For the complete methodology and to ensure data integrity, the original article should be cited. The canonical source is available at: cPanel on Rocky Linux after v134: Convert In-Place to AlmaLinux or Rebuild Fresh? A Migration Decision Playbook.