How to set up a redundant connection for a cPanel vm?

This is a routing problem what only your ISP can handle.

An alternative solution is a DNS record that is pointed to another VM with is a load balancer an this software redirect to the IPs.