# Traefik show 404 not found for .NET api ruunnig on docker compose

**URL:** https://community.traefik.io/t/traefik-show-404-not-found-for-net-api-ruunnig-on-docker-compose/27224
**Category:** Traefik v3 (latest)
**Tags:** docker, docker-swarm
**Created:** [April 17, 2025, 3:35pm UTC](https://community.traefik.io/t/traefik-show-404-not-found-for-net-api-ruunnig-on-docker-compose/27224 "2025-04-17T15:35:21Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)
#### Post date: [April 17, 2025, 5:45pm UTC](https://community.traefik.io/t/traefik-show-404-not-found-for-net-api-ruunnig-on-docker-compose/27224/2 "2025-04-17T17:45:16Z")

</div>

Not every web application supports a custom external path (using `PathPrefix()` and potentially `stripPrefix` ), instead a sub-domain per service is best practice. It’s [discussed like here](https://community.traefik.io/t/docmost-pathprefix/27164/2) about every other week.

---

_[View the full topic](https://community.traefik.io/t/traefik-show-404-not-found-for-net-api-ruunnig-on-docker-compose/27224)._
