Supposing it is a nextcloud installation, normally it is enough to provide the hostname (nextcloud.example.com) and the .well-known-redirects can be used by the client software to obtain the full URL.
In the web GUI, on the bottom left of the page you can show the settings, and then further down, there is a direct calDAV link.