# Not properly set up to resolve "/.well-known/caldav"

**URL:** <https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162>\
**Category:** ℹ️ Support\
**Tags:** setup\_warning\
**Created:** [October 17, 2019, 4:10am UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162 "2019-10-17T04:10:25Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamhives](https://help.nextcloud.com/letter_avatar/iamhives/32/5_5575768a8748004e209b776fc1b2916d.png) [@iamhives](https://help.nextcloud.com/u/iamhives)\
**Post date:** [October 17, 2019, 4:10am UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/1 "2019-10-17T04:10:26Z")

</div>

Running NC 17 on a shared hosting platform (so don’t have control of everything). Running on Apache/PHP 7.3. Everything is running fine and I want to start experimenting with synching my calendars on Android with DAVx5 etc so assume I have to have the caldav/carddav resolution set-up correctly

I get the common cannot resolve errors:

- Your web server is not properly set up to resolve “/.well-known/caldav”. Further information can be found in the [documentation](https://docs.nextcloud.com/server/17/go.php?to=admin-setup-well-known-URL).
- Your web server is not properly set up to resolve “/.well-known/carddav”. Further information can be found in the [documentation](https://docs.nextcloud.com/server/17/go.php?to=admin-setup-well-known-URL).

I’ve tried to follow the instructions (to the extent that I understand them) by adding the following in .htaccess . I run nextcloud in a subolder called nextcloud…

 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]

I suspect the problem may be the correct location to add/change these Rewriterules cos they don’t seem to get used. I’ve tried the .htaccess in the nextcloud subfolder but this doesn’t work.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![iancynk](https://help.nextcloud.com/user_avatar/help.nextcloud.com/iancynk/32/18369_2.png) [@iancynk](https://help.nextcloud.com/u/iancynk)\
**Post date:** [October 18, 2019, 8:42am UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/2 "2019-10-18T08:42:22Z")

</div>

I have the exact same issue (though still on NC 16.0.5). I put that file in various folders (/var/www/, /var/www/nextcloud, /var/www/html/) but it never helped with that error message.

Not a huge issue since the clients do find the calendars through the links.

Still it would be helpful if someone could point out what is wrong in our setup.

Thank you!

---

<div class="post-metadata">

**Author:** ![iamhives](https://help.nextcloud.com/letter_avatar/iamhives/32/5_5575768a8748004e209b776fc1b2916d.png) [@iamhives](https://help.nextcloud.com/u/iamhives)\
**Post date:** [October 26, 2019, 10:21pm UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/3 "2019-10-26T22:21:14Z")

</div>

This doesn’t seem too complicated. Nobody has any ideas?

---

<div class="post-metadata">

**Author:** ![JimmyKater](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jimmykater/32/4850_2.png) [@JimmyKater](https://help.nextcloud.com/u/JimmyKater)\
**Post date:** [October 27, 2019, 9:36am UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/4 "2019-10-27T09:36:46Z")

</div>

> [@iamhives](#):
>
> any ideas

yes… one if it was: apparently you were searching the forum. but then why didnt you fin the solving links? as there are solutions here on the forum.

plus: they might be different for nc 16.x and nc 17.x

---

<div class="post-metadata">

**Author:** ![iamhives](https://help.nextcloud.com/letter_avatar/iamhives/32/5_5575768a8748004e209b776fc1b2916d.png) [@iamhives](https://help.nextcloud.com/u/iamhives)\
**Post date:** [October 27, 2019, 2:04pm UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/5 "2019-10-27T14:04:07Z")

</div>

If we’d both found the ‘solving links’ then we wouldn’t be posting here would we? We’ve followed the installation instructions and cannot fix the problem which seems to indicate the instructions may not tell the whole story. I had the same problem with nc 16 before my current nc 17 install. This is the only problem I have with nc 17.

Perhaps if you have ideas on how to fix, you could point more specifically to the solution?

---

<div class="post-metadata">

**Author:** ![JimmyKater](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jimmykater/32/4850_2.png) [@JimmyKater](https://help.nextcloud.com/u/JimmyKater)\
**Post date:** [October 28, 2019, 7:34am UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/6 "2019-10-28T07:34:55Z")

</div>

nc 16: [/.well-known/caldav](https://help.nextcloud.com/t/well-known-caldav/48993)

nc 17: [Nextcloud 17 false warnings](https://help.nextcloud.com/t/nextcloud-17-false-warnings/61024)

good luck…

> [@iamhives](#):
>
> If we’d both found the ‘solving links’ then …

… you might wanna use the `search function` of the forum next time 😉

---

<div class="post-metadata">

**Author:** ![Wytoo](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wytoo/32/28645_2.png) [@Wytoo](https://help.nextcloud.com/u/Wytoo)\
**Post date:** [October 30, 2019, 6:27pm UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/7 "2019-10-30T18:27:51Z")

</div>

I’m after getting rid of the message suggesting to only use https I’ve encountered the above mentioned error. Didn’t have that one before. I’ve searched through the forum and read the documentation but I have already made those changes that are mentioned.

I’ve set the URL to the suggested path of

```
  RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]

```

RewriteRule ^.well-known/caldav /remote.php/dav/ [R=301,L]

but I am still getting a warning:

- Your web server is not properly set up to resolve “/.well-known/caldav”. Further information can be found in the [documentation](https://docs.nextcloud.com/server/17/go.php?to=admin-setup-well-known-URL).
- Your web server is not properly set up to resolve “/.well-known/carddav”. Further information can be found in the [documentation](https://docs.nextcloud.com/server/17/go.php?to=admin-setup-well-known-URL).

I’m at version 17. My Installpath is /docker/nextcloud/ I even tried that as well, but to no avail.

Can somebody help me out here? 🙂

---

<div class="post-metadata">

**Author:** ![iamhives](https://help.nextcloud.com/letter_avatar/iamhives/32/5_5575768a8748004e209b776fc1b2916d.png) [@iamhives](https://help.nextcloud.com/u/iamhives)\
**Post date:** [October 30, 2019, 7:45pm UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/8 "2019-10-30T19:45:35Z")

</div>

I’m sure JimmyKater will soon chime in and tell you to use the search function…

I, probably like you, have done multiple searches and found multiple potential solutions none of which work. I’m using shared hosting so don’t have control/access to all the config files. The obvious place and the one the install instructions point to is the nextcloud/.htaccess file but changes there don’t seem to have any effect.

While I’m not completely technically illiterate I’m not a technical enough to decipher some of these posts (especially when they are in German). The fact that this topic is so frequently discussed and there seem to be several people at any one time with this problem seems to point to it being something that needs to be better documented.

---

<div class="post-metadata">

**Author:** ![JimmyKater](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jimmykater/32/4850_2.png) [@JimmyKater](https://help.nextcloud.com/u/JimmyKater)\
**Post date:** [November 1, 2019, 9:49am UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/9 "2019-11-01T09:49:23Z")

</div>

> [@iamhives](#):
>
> I’m sure JimmyKater will soon chime in

_mwuhahaha_

hey… i’m chiming in here to tell you that it’s always important to give out some more infos about your instance, setup and environment (if i’m not very much mistaken there even is a template provided when you’re entering an issue here - and it’s not there for fun) - if you want to have the chance of getting more detailed help.

> [@iamhives](#):
>
> I’m using shared hosting so don’t have control/access to all the config files.

like this one is a good info.

in this case it could be helpful to setup a batchfile where you’re trying to read your config file into some file that you are allowed to access… then do the changes that need to be done to it and then another batch to write it back. maybe even via a cron-job.

and never ever forget taking backups before fiddling around with things like that 😉

good luck

---

<div class="post-metadata">

**Author:** ![zippy\_digital](https://help.nextcloud.com/user_avatar/help.nextcloud.com/zippy_digital/32/23888_2.png) [@zippy\_digital](https://help.nextcloud.com/u/zippy_digital)\
**Post date:** [April 20, 2020, 2:45pm UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/10 "2020-04-20T14:45:45Z")

</div>

What kind of batch file need be written ?

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 10:38am UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/11 "2024-12-04T10:38:38Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 3:47pm UTC](https://help.nextcloud.com/t/not-properly-set-up-to-resolve-well-known-caldav/62162/12 "2024-12-11T15:47:45Z")

</div>


