# Nextcloud with Traefik over Docker tries connecting to Collabora through it's container name instead of it's domain

**URL:** <https://help.nextcloud.com/t/nextcloud-with-traefik-over-docker-tries-connecting-to-collabora-through-its-container-name-instead-of-its-domain/159764>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** docker\
**Created:** [April 9, 2023, 1:24am UTC](https://help.nextcloud.com/t/nextcloud-with-traefik-over-docker-tries-connecting-to-collabora-through-its-container-name-instead-of-its-domain/159764 "2023-04-09T01:24:43Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![S0ulf3re](https://help.nextcloud.com/user_avatar/help.nextcloud.com/s0ulf3re/32/49380_2.png) [@S0ulf3re](https://help.nextcloud.com/u/S0ulf3re)\
**Post date:** [April 9, 2023, 11:40am UTC](https://help.nextcloud.com/t/nextcloud-with-traefik-over-docker-tries-connecting-to-collabora-through-its-container-name-instead-of-its-domain/159764/4 "2023-04-09T11:40:31Z")

</div>

Alright, so setting `--o:server_name=office.example.tld`into collabora’s environment variables fixed the url. But I still havent managed to load any documents yet

What also worked was finding [this](https://help.nextcloud.com/t/no-acceptable-wopi-hosts-found-matching-the-target-host/12392/6) page as well

---

_[View the full topic](https://help.nextcloud.com/t/nextcloud-with-traefik-over-docker-tries-connecting-to-collabora-through-its-container-name-instead-of-its-domain/159764)._
