# Connect your own CalDAV server

<PlanNote plan="basic" />

If your calendar runs on a server that speaks **CalDAV**, you can connect it directly. That covers your own **Nextcloud** or one at a hosting provider, **Synology Calendar**, **Baïkal**, **Radicale**, **SOGo** and many more. All you need is the **server address**, your **username** and an **app password**. Kalender Sync finds the calendars on the server by itself. After that, sync picks up changes **every 5 minutes**.

:::tip[Is your provider already listed?]
Apple iCloud, GMX, WEB.DE, mailbox.org, Posteo, STRATO, Disroot and KSuite have their own entries that need no server address. Use those instead.
:::

## What you need

- **Server address**: the host name is usually enough, for example `cloud.example.com`. A full CalDAV address works too.
- **Username**: the login for your server, not necessarily your email address.
- **App password**: create a separate password for Kalender Sync on your server. It is required with two-factor sign-in, and you can revoke it later without changing your main password.
- The server must be reachable **from the internet over https** with a **valid certificate** (for example from Let's Encrypt). A server that is only on a home or company network, behind a VPN or with a self-signed certificate cannot be connected.

## Addresses for common servers

| Server | Server address | Create an app password |
| --- | --- | --- |
| Nextcloud | `cloud.example.com` (or `cloud.example.com/remote.php/dav`) | Settings → Security → Devices & sessions |
| Synology Calendar | `nas.example.com:5001` or your reverse proxy address | DSM: with 2FA, create a separate account for Kalender Sync |
| Baïkal | `dav.example.com` (or `dav.example.com/dav.php`) | not needed in Baïkal |
| Radicale | `dav.example.com` | not needed in Radicale |
| SOGo | `mail.example.com/SOGo/dav` | depends on the setup |

:::caution[Synology]
**QuickConnect** is not enough because it does not relay CalDAV. Your NAS needs a public https address, for example via DDNS and Let's Encrypt in DSM, or a reverse proxy.
:::

## Connect in Kalender Sync

1. In the dashboard, **“Connect calendar”** → **“CalDAV”** at the bottom.
2. Enter the **server address**, **username** and **app password**.
3. Click **“Test & connect”**. Kalender Sync looks for the calendars and lists them for you to pick.

The account then shows as `username · server`, so you can tell several servers apart.

## If it does not work

| Message | What to check |
| --- | --- |
| We cannot use this server address | The address must be reachable over https and must not point into a home or company network (for example `192.168.…` or `nas.local`). |
| We cannot reach the server, or its certificate is invalid | Is the address right? Open it in a browser from outside your own network. If the browser shows a certificate warning, the certificate is expired, self-signed or does not match the address. A Let's Encrypt certificate fixes this. |
| No CalDAV server found | Enter the full CalDAV address, for Nextcloud for example `cloud.example.com/remote.php/dav`. |
| Your server redirects to … | Enter that address directly if it belongs to your account. |
| Username or password not accepted | Does signing in work in the browser? With two-factor sign-in you need an app password. |
| This provider has its own entry | The address belongs to a provider with its own entry (for example iCloud or mailbox.org). Pick it from the list. |
| Too many failed attempts | After several failed attempts we pause new ones for an hour so your server does not lock you out. Check the address and app password in the meantime. |
| Access refused | CalDAV is not enabled for the account, or the server briefly blocks after several failed attempts. Wait a few minutes and try again. |

Still stuck? Write to [support@kalender-sync.de](mailto:support@kalender-sync.de) with the name of your server software. Please do not send us a password.

## Privacy

Kalender Sync stores your username and password encrypted and uses them only to read and write your calendars on this server. You choose the server, and Kalender Sync connects only to it.

## End access

In Kalender Sync: [Remove a calendar](https://docs.kalender-sync.de/en/connect-calendar/disconnect/). If you created an app password, also delete it on your server. Access ends immediately.