Question
Can I upgrade CentOS 7 to CentOS 8, AlmaLinux 8, or CloudLinux 8 on a cPanel & WHM server?
Answer
There is no method to upgrade from EL 7 to EL 8 variants supported by the cPanel & WHM software. We advise migrating to a new server if upgrading the operating system is necessary.
How do I Move All cPanel Accounts from One Server to Another?
Please also keep in mind that CentOS 8 has reached its end-of-life status.
When is support ending for the CentOS versions?
With this being the case, migrating to AlmaLinux 8 would be recommended over CentOS 8.