# cPanel calendar and contacts sync with Outlook, iPhone, Mac and Android (CalDAV/CardDAV)

https://www.gyrohosting.com/en/knowledgebase/article/cpanel-calendar-and-contacts-caldav-carddav-sync

**Yes, you can.** The calendar and contacts of a cPanel email account sync both ways over **CalDAV** (calendar) and **CardDAV** (contacts) with iPhone, iPad, Mac, Thunderbird, Android and classic Outlook on Windows. The connection details are on the **Calendars and Contacts Configuration** page in Webmail, and the secure port is **2080**. Outlook has no built-in CalDAV support, so you need the free **CalDav Synchronizer** add-in for Outlook and the **DAVx⁵** app for Android.

- **What you will learn**: Where to find your CalDAV and CardDAV address, how to add the account in Outlook (classic), iPhone, iPad, Mac, Android and Thunderbird, and how to fix connection errors.
- **Time**: 10 minutes

## 1. Where do I find my CalDAV and CardDAV address?

You find the addresses in cPanel's Webmail interface, on your own email account's page.

1. Log in to Webmail with your email address and password. If you are logged in to cPanel, open the **Email Accounts** page and use the **Calendars and Contacts Configuration** link next to your account.
2. Open the **Calendars and Contacts Configuration** page.
3. Under **Manual Settings**, note the **Username**, the **Server URL** and the **Alternate Server URL**. Copy the addresses exactly as the page shows them.
4. The password is the login password of your email account. The page does not show a separate password.

The address format is below. The server name depends on your hosting server, so use the name from the page instead of `server.example.com`:

| Item | Example format |
| --- | --- |
| Server URL | `https://server.example.com:2080` |
| Alternate Server URL | `https://server.example.com:2080/principals/john@example.com` |
| Calendar URL | `https://server.example.com:2080/calendars/john@example.com/calendar` |
| Contacts (address book) URL | `https://server.example.com:2080/addressbooks/john@example.com/addressbook` |
| Username | your full email address, for example `john@example.com` |

Always **include the port** in the address. Use **2080** for a secure connection and avoid the unencrypted port 2079.

> **Info**
> 
> If the Server URL does not work in your app, try the **Alternate Server URL**. It is meant for older apps that do not support autodiscovery.

> **Warning**
> 
> These addresses belong to cPanel hosting email. If you use **Business Email (GyroMail)**, the addresses and steps are different: see [Business Email: webmail login and device setup](https://www.gyrohosting.com/en/knowledgebase/article/business-email-webmail-and-device-setup).

## 2. How do I connect classic Outlook on Windows?

Desktop Outlook (2016, 2019, 2021 and Microsoft 365 classic) cannot add a CalDAV or CardDAV account on its own. The free, open-source **CalDav Synchronizer** add-in syncs Outlook with your cPanel calendar.

1. Download and install the add-in from the [CalDav Synchronizer project page](https://caldavsynchronizer.org/). Close Outlook before installing.
2. Open Outlook. A **CalDav Synchronizer** tab appears in the ribbon. Open **Synchronization Profiles**, add a new profile and choose **Generic CalDAV/CardDAV** as the profile type.
3. Paste the **calendar URL** from section 1 into the **DAV URL** field. Enter your full email address as the username and the account password.
4. Select the calendar to sync in the **Outlook folder** list.
5. Click **Test or discover settings** to check the connection. Your Webmail calendar should be listed.
6. Choose two-way sync (**Two-way**) and save the profile. The add-in runs the first sync and then repeats it at regular intervals.

**A second profile for contacts:** each profile connects one type of folder. To sync contacts, add another profile, paste the **contacts URL** (`/addressbooks/…/addressbook`) into **DAV URL** and select an Outlook Contacts folder.

> **Warning**
> 
> CalDav Synchronizer is for classic Outlook on Windows. It does not work with new Outlook or Outlook for Mac. See section 7 for those.

## 3. How do I add it to iPhone and iPad?

iPhone and iPad support CalDAV and CardDAV out of the box, so you do not need another app. Depending on your iOS version, the menu path may be under **Settings › Apps**.

1. Go to **Settings › Calendar › Accounts › Add Account › Other › Add CalDAV Account**.
2. In **Server**, enter the server address with the port (`server.example.com:2080`). Use your full email address as **User Name** and the account password as **Password**.
3. Tap **Next** to save. Your calendars appear in the Calendar app.
4. For contacts, go to **Settings › Contacts › Accounts › Add Account › Other › Add CardDAV Account** and enter the same details.

The account works both ways: events and contacts you add on the phone also appear in Webmail.

## 4. How do I add it to a Mac?

1. Go to **System Settings › Internet Accounts › Add Account › Add Other Account** and choose **CalDAV account** (calendar) or **CardDAV account** (contacts).
2. Set **Account Type** to **Manual**. Enter your email address as the user name and the account password.
3. Enter the server name as **Server Address** and **2080** as **Port**. If needed, switch to **Advanced** and enter `/calendars/john@example.com/calendar` as the server path (for contacts, `/addressbooks/john@example.com/addressbook`).
4. Click **Sign In**. Calendars show up in the Calendar app and contacts in the Contacts app.

## 5. How do I add it to Android?

Android's built-in apps do not support CalDAV or CardDAV directly. The free, open-source **DAVx⁵** app ([project page](https://www.davx5.com/)) connects them to your phone's own Calendar and Contacts apps.

1. Install DAVx⁵ from Google Play (or from the other sources on the project page), open it and add a new account.
2. Choose **Login with URL and user name**. Enter the server address from section 1 (`https://server.example.com:2080`) as the **Base URL**, then your user name and password.
3. When the account is created, select the calendars and contact lists to sync.
4. Start the first sync. Events and contacts then appear in the phone's own apps.

> **Info**
> 
> If the **Calendars and Contacts Configuration** page also shows an **ActiveSync** section, you can use those details to keep email, calendar and contacts in one account on Android. If there is no such section, use DAVx⁵.

## 6. How do I add it to Thunderbird?

Thunderbird supports CalDAV and CardDAV natively, so you do not need an add-on.

1. On the **Calendar** tab, create a new calendar, choose **On the Network** and set the format to **CalDAV**. Paste the **calendar URL** from section 1 into **Location**.
2. When asked, enter your email address as the user name and the account password.
3. For contacts, add a new **CardDAV address book** on the **Address Book** tab and enter your user name and the **contacts URL**.

## 7. How do I see my calendar in new Outlook or Outlook for Mac?

New Outlook (Windows) and Outlook for Mac do not offer a CalDAV/CardDAV account type, and CalDav Synchronizer does not work with them. You have three options:

- **Classic Outlook:** Use classic Outlook on Windows and follow section 2.
- **The device's own app:** On a Mac, add the account to the Calendar and Contacts apps as in section 4. On your phone, use section 3 or 5. Your calendar and contacts then sync on that device.
- **Webmail:** If you do not need sync, view your calendar in the browser through Webmail.

## 8. How do I fix CalDAV and CardDAV connection errors?

| Symptom | Likely cause | Fix |
| --- | --- | --- |
| "401" or "unauthorized", login rejected | Wrong user name or password | The user name must be the full email address. The password is your email account's login password. |
| Cannot reach the server, timeout | Your network blocks port 2080 (common on corporate networks) | Try another network, such as mobile data. If it still fails, ask your network admin about port 2080. |
| The Server URL does not work | The app does not support autodiscovery | Use the **Alternate Server URL** or the full calendar/contacts URL. |
| Certificate warning | The host name in the address does not match the certificate | Enter the address exactly as the page shows it, including the port. Do not use a different domain name. |
| The calendar exists but events do not show | The wrong calendar or address book is selected | Check that the calendar URL ends in `/calendars/…/calendar` and the contacts URL ends in `/addressbooks/…/addressbook`. |
| Sync stopped after a password change | The device still has the old password | Update the password in every app that uses this account. |
| The same event appears twice | The account or calendar was added twice | Check your account list and remove the duplicate. |
| The page does not open or says the service is not enabled | A problem with the calendar service on the server | [Open a support request](https://www.gyrohosting.com/en/contact) with your email address and the error message. |

## 9. Frequently asked questions

**How do I sync a cPanel calendar with Outlook?**

For classic Outlook, install the CalDav Synchronizer add-in, choose Generic CalDAV/CardDAV as the profile type and use your calendar URL (section 2). New Outlook and Outlook for Mac cannot add a CalDAV account.

**Which port does cPanel CalDAV and CardDAV use?**

Port 2080 for a secure connection. Port 2079 is unencrypted, so do not use it. You must include the port number in the address.

**What is the difference between CalDAV and CardDAV?**

CalDAV syncs calendars and CardDAV syncs contacts (address books). They run on the same server but you add them as separate accounts or profiles in your apps.

**Does each email account have its own calendar?**

Yes. Every email account has its own calendars and contacts. You connect with that account's full address and password.

**Does two-way sync delete items?**

Yes. An event or contact you delete on one side is removed on the other. Be careful before bulk deletes.

**Do I need an extra app on Android?**

Yes, an app such as DAVx⁵. On iPhone, iPad, Mac and Thunderbird you do not need to install anything extra.

**I use Business Email (GyroMail). Do the same steps apply?**

No. GyroMail uses different addresses and setup steps: see [Business Email: webmail login and device setup](https://www.gyrohosting.com/en/knowledgebase/article/business-email-webmail-and-device-setup).

## Next step

- If you get stuck, [open a support request](https://www.gyrohosting.com/en/contact) with your email address, your device and the error message.
- Looking for a business mailbox instead of hosting email? See [Business Email](https://www.gyrohosting.com/en/corporate-mail).
