# Traefik 404 page not found all the time

**URL:** <https://community.traefik.io/t/traefik-404-page-not-found-all-the-time/5176>\
**Category:** Traefik v2\
**Tags:** kubernetes-ingress\
**Created:** [March 29, 2020, 6:34pm UTC](https://community.traefik.io/t/traefik-404-page-not-found-all-the-time/5176 "2020-03-29T18:34:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![holo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/holo/32/2279_2.png) [@holo](https://community.traefik.io/u/holo)\
**Post date:** [March 29, 2020, 6:34pm UTC](https://community.traefik.io/t/traefik-404-page-not-found-all-the-time/5176/1 "2020-03-29T18:34:01Z")

</div>

I installed Traefik manually with files from: [https://docs.traefik.io/routing/providers/kubernetes-crd/#configuration-examples](https://docs.traefik.io/routing/providers/kubernetes-crd/#configuration-examples)

Problem is, in dashboard everything looks correctly all endpoints are displayed and ingressroute is taged "succed". After i put domain to browser im getting 404 with such configuration. IP of AWS LB is added to /etc/hosts

```auto
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  annotations:
  name: traefik-test-ingressroute
  namespace: default
spec:
  entryPoints:
  - traefik
  routes:
  - kind: Rule
    match: Host(`test.domain.com`) 
    services:
    - name: whoami
      port: 80

```

in logs im getting only such try of connection:

```auto
172.20.59.64 - - [29/Mar/2020:22:19:47 +0000] "GET / HTTP/2.0" - - "-" "-" 190 "-" "-" 0ms
172.20.59.64 - - [29/Mar/2020:22:19:49 +0000] "GET / HTTP/2.0" - - "-" "-" 191 "-" "-" 0ms
172.20.59.64 - - [29/Mar/2020:22:19:49 +0000] "GET / HTTP/2.0" - - "-" "-" 192 "-" "-" 0ms
172.20.59.64 - - [29/Mar/2020:22:19:49 +0000] "GET / HTTP/2.0" - - "-" "-" 193 "-" "-" 0ms
172.20.59.64 - - [29/Mar/2020:22:19:49 +0000] "GET / HTTP/2.0" - - "-" "-" 194 "-" "-" 0ms
172.20.59.64 - - [29/Mar/2020:22:21:09 +0000] "GET / HTTP/2.0" - - "-" "-" 195 "-" "-" 0ms

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/4/49b9daf0a6d33528229cb30a48c70c3ccfe09327.png)

---

<div class="post-metadata">

**Author:** ![holo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/holo/32/2279_2.png) [@holo](https://community.traefik.io/u/holo)\
**Post date:** [March 30, 2020, 12:40pm UTC](https://community.traefik.io/t/traefik-404-page-not-found-all-the-time/5176/2 "2020-03-30T12:40:19Z")

</div>

I finally solved issue. Problem was with my configuration. We are not putting traefik service in to endpoint but name of endpoint configured in traefik arguments like:

```auto
--entryPoints.web.address=:80

```

so config should looks like:

```auto
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  annotations:
  name: traefik-test-ingressroute
  namespace: default
spec:
  entryPoints:
  - web
  routes:
  - kind: Rule
    match: Host(`test.domain.com`) 
    services:
    - name: whoami
      port: 80

```
