cPanel is a web-based control panel for site management. It provides CalDAV and CardDAV integration.
CalDAV / CardDAV setup for DAVx⁵
Base URL: /rpc.php/ (e.g. http(s)://server.example:2080/rpc.php/) or (if you use cPanel 120+) just http(s)://server.example:2080/
User name/password: use the username and password of the email account (= not the cPanel account). If you use v 120+ use your email address.
For more information, see cPanel Knowlegde Base: How to Set Up Calendars and Contacts.
Important: cPanel now uses Roundcube as default web backend. In order to be able to see calendars you're synchronizing also in the web view you need to switch to the (older) Horde backend in cPanel.
Starting with cPanel 120 is uses cpdavd (daemon) to handle all DAV functions, and calendars and contacts are linked to webmail
WebDAV setup
You can mount folders from the cPanel WebDisks using the DAVx⁵ WebDAV mounts feature.
cPanel provides WebDAV access through their "WebDisk" feature. It needs to be configured seperately on the server. Please have a look here:
https://blog.cpanel.com/how-to-configure-and-manage-webdav-web-disks-with-cpanel/