A user wants their cPanel-hosted calendar and contacts to sync to iPhone the same way iCloud or Google Workspace does. The CalDAV/CardDAV bits exist on the server — cPanel ships them as part of the Calendar and Contacts feature — but the discovery URLs, the SSL configuration, and the per-user paths trip people up. The clean setup is a 5-minute exercise once you know the URLs and the gotchas; without that knowledge it’s a day of trial-and-error.
What’s happening
cPanel includes a CalDAV/CardDAV server (typically based on Davical or the cPanel-bundled equivalent) that runs alongside Dovecot and exposes per-user calendars and address books over HTTPS. iOS expects to discover the endpoints via the well-known URL pattern (https://mail.example.com/.well-known/caldav and /.well-known/carddav), which should redirect to the actual server path. Without the well-known redirects, iOS asks for a manual URL that users rarely have correct.
How to verify
From the cPanel host, confirm the CalDAV/CardDAV service is running:
ss -lntp | grep -E ':(8008|8443|443).*cpdavd|caldav'
curl -I https://mail.example.com/.well-known/caldav
The first command should show the daemon listening; the second should return a 301/302 to the actual server path. From an iOS device, the Calendar settings under Add Account > Other > CalDAV should accept just the server hostname and the account credentials if discovery works.
The fix
- Confirm the calendar service is enabled in WHM > Service Manager. cPanel calls this
cpdavdorCalendar and Contacts Serverdepending on version. Enable it if it’s off, and confirm it’s running withsystemctl status cpdavdor the cPanel equivalent. - Set up the well-known redirects in the domain’s web root. For
mail.example.com, add/.well-known/caldavand/.well-known/carddavredirects to the actual server paths. cPanel ships defaults for the main hostname but not always for vanity hostnames. - Confirm TLS works without errors. iOS refuses self-signed certs without manual approval. Use the AutoSSL-issued Let’s Encrypt cert and confirm with
openssl s_client -connect mail.example.com:443 -showcerts. - Add the account on iOS. Settings > Calendar > Accounts > Add Account > Other > Add CalDAV Account. Server:
mail.example.com. Username: full email address. Password: mailbox password. - For CardDAV, same flow under Settings > Contacts > Accounts > Add Account > Other > Add CardDAV Account.
- If discovery fails, fall back to the explicit URL. The user can enter
https://mail.example.com:2080/principals/users/<user>/or the path your cPanel exposes; check the server’s web admin for the exact pattern.
For environments where calendar and contacts sync are part of the support contract, Stack Harbor wires CalDAV/CardDAV discovery and the iOS profiles into cPanel/WHM management.