Twitter

Configuration

See how to configure DAVdroid for various CalDAV/CardDAV servers/services.

What is the Base URL?

When logging in by URL, DAVdroid asks for the "Base URL". This can be:

So, DAVdroid will query the base URL for both CalDAV and CardDAV and use whatever it finds. If CalDAV and CardDAV are separated on your server and well-known URLs are not configured, you'll have to create two DAVdroid accounts: one for CalDAV (use the CalDAV URL as base URL) and one for CardDAV (use the CardDAV URL as base URL).

To refresh the collection list and create collections on the server, DAVdroid needs to know the CalDAV/CardDAV homeset, so these functions will only be available if a principal and/or homeset URL can be found for the respective protocol.

How does service discovery work?

DAVdroid supports both service location discovery by SRV/TXT records and well-known URLs.

To use CalDAV and CardDAV in one DAVdroid account, make sure these redirects are present on your server:

/.well-known/caldav → CalDAV service path (302 Found), e.g. /remote.php/caldav/
/.well-known/carddav → CardDAV service path (302 Found), e.g. /remote.php/carddav/

If these redirects are configured correctly, you can use the root URL http(s)://your.server.example/ without any additional paths as the base URL in DAVdroid.