[.well-known/caldav and well-known/carddav]

In the overview in administrator page, there are 2 warnings:

  • Your web server is not properly set up to resolve “/.well-known/caldav”.
  • Your web server is not properly set up to resolve “/.well-known/carddav”.

I installed nextcloud system under /var/www/html/nextcould/ folder in raspberry PI4 web server, I followed the link below, create a .htaccess file under /var/www/html/ folder, and copy/paste the snippet ,save and restart web server, but the warnings still stay over there

  <IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteRule ^\.well-known/host-meta /nextcloud/public.php?service=host-meta [QSA,L]
  RewriteRule ^\.well-known/host-meta\.json /nextcloud/public.php?service=host-meta-json [QSA,L]
  RewriteRule ^\.well-known/webfinger /nextcloud/public.php?service=webfinger [QSA,L]
  RewriteRule ^\.well-known/carddav /nextcloud/remote.php/dav/ [R=301,L]
  RewriteRule ^\.well-known/caldav /nextcloud/remote.php/dav/ [R=301,L]
</IfModule>

https://docs.nextcloud.com/server/19/admin_manual/issues/general_troubleshooting.html#service-discovery

have you already searched the forum for existing solutions on that problem? As there are many…

Pls feel free to add the solving link as an answer to this tread here :slight_smile: