# ERR EntryPoint doesn't exist entryPointName & ERR Router uses a nonexistent certificate resolver

**URL:** <https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150>\
**Category:** Traefik v3 (latest)\
**Tags:** dashboard-api, docker\
**Created:** [April 10, 2025, 2:08am UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150 "2025-04-10T02:08:34Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 10, 2025, 2:08am UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/1 "2025-04-10T02:08:34Z")

</div>

Hi,

I have been trying to get my Traefik container to work with Wordpress (doesn't matter - just used for testing).

I have looked all online, looked here and none of the solutions seem to help me with my issues (errors in docker logs). Please don't be a smart\*ss and tell me it's simple and to look at examples at traefik's webpage, I've done that already, thank you.

I'm following Ibracorp's tutorial on Youtube at "[https://www.youtube.com/watch?v=pU7JvIrthxg&t=1917s](https://www.youtube.com/watch?v=pU7JvIrthxg&t=1917s)" and written documentation at: "[https://docs.ibracorp.io/traefik/master/docker-compose](https://docs.ibracorp.io/traefik/master/docker-compose)".

I've tried removing entry points from my fileConfig.yml file and vice versa from my wordpress docker-compose.yml file. No matter what I do, I get the same errors. Also, Wordpress gets redirected to the webgui of Traefik, never gets directed to wordpress.\*\*\*\*\*\*\*.com.

Also, getting error about CertificatesResolver (myresolver). However, nowhere in any of my files am I referencing myresolver, I'm referencing letsencrypt.

Please see my traefik docker-compose.yml, traefik.yml, fileConfig.yml for Traefik. See docker-compose.yml for Wordpress.

I've deleted, removed all files and reinstalled and same errors.

If wordpress docker-compose.yml is shutdown, I get no errors.

Error messages from docker logs:

2025-04-09T22:24:11Z INF Starting provider aggregator \*aggregator.ProviderAggregator  
2025-04-09T22:24:11Z INF Starting provider \*file.Provider  
2025-04-09T22:24:11Z INF Starting provider \*traefik.Provider  
2025-04-09T22:24:11Z INF Starting provider \*docker.Provider  
2025-04-09T22:24:11Z INF Starting provider \*acme.Provider  
2025-04-09T22:24:11Z INF Testing certificate renew... acmeCA=[https://acme-v02.api.letsencrypt.org/directory](https://acme-v02.api.letsencrypt.org/directory) providerName=letsencrypt.acme  
2025-04-09T22:24:11Z INF Starting provider \*acme.ChallengeTLSALPN  
2025-04-09T22:24:14Z =websecure routerName=wordpress@docker  
2025-04-09T22:24:14Z ERR No valid entryPoint for this router routerName=wordpress@docker  
2025-04-09T22:24:14Z ERR EntryPoint doesn't exist entryPointName=websecure routerName=wordpress@docker  
2025-04-09T22:24:14Z ERR No valid entryPoint for this router routerName=wordpress@docker  
2025-04-09T22:24:14Z ERR Router uses a nonexistent certificate resolver certificateResolver=myresolver routerName=wordpress@docker

1). Traefik docker-compose.yml:

version: '3'  
services:  
traefik:  
container\_name: traefik  
image: traefik:latest  
ports:  
- 7480:80  
- 7443:443  
- 8080:8080 # Dashboard port  
volumes:  
- /opt/appdata/traefik/:/etc/traefik/  
- /var/run/docker.sock:/var/run/docker.sock:ro # ro = read-only access to the docker.sock  
networks:  
- ibranet # rename this to your custom docker network  
labels:  
traefik.http.routers.api.rule: Host(`traefik.xxxxxx.com`) # Define the subdomain for the traefik dashboard.  
traefik.http.routers.api.entryPoints: https # Set the Traefik entry point.  
traefik.http.routers.api.service: api@internal # Enable Traefik API.  
traefik.enable: true # Enable Traefik reverse proxy for the Traefik dashboard.  
environment:  
DOCKER\_HOST: dockersocket  
CF\_DNS\_API\_TOKEN: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  
restart: unless-stopped  
depends\_on:  
- dockersocket

dockersocket:  
container\_name: dockersocket  
image: tecnativa/docker-socket-proxy  
volumes:  
- /var/run/docker.sock:/var/run/docker.sock  
networks:  
- ibranet  
environment:  
CONTAINERS: 1  
POST: 0  
privileged: true  
restart: unless-stopped

networks:  
ibranet:  
driver: bridge  
external: true

1. fileConfig.yml:

http:

## EXTERNAL ROUTING EXAMPLE - Only use if you want to proxy something manually

routers:  
# Wordpress routing example - Remove if not used  
wordpress:  
entryPoints:  
- https  
rule: 'Host(`wordpress.xxxxxxx.xxxx`)'  
service: wordpress  
#middlewares:  
# - "auth"  
##SERVICES EXAMPLE ##  
services:  
# Wordpress service example - Remove if not used  
wordpress:  
loadBalancer:  
servers:  
- url: [http://10.xx.1.xx:80/](http://10.xx.1.xx:80/)

## MIDDLEWARES

middlewares:  
# Only Allow Local networks  
local-ipwhitelist:  
ipWhiteList:  
sourceRange:  
- 127.0.0.1/32 # localhost  
- 192.168.1.1/24 # LAN Subnet

```
auth: #for Authentik
  forwardauth:
    address: http://authentik-server:9000/outpost.goauthentik.io/auth/traefik
    trustForwardHeader: true
    authResponseHeaders:
      - X-authentik-username
      - X-authentik-groups
      - X-authentik-email
      - X-authentik-name
      - X-authentik-uid
      - X-authentik-jwt
      - X-authentik-meta-jwks
      - X-authentik-meta-outpost
      - X-authentik-meta-provider
      - X-authentik-meta-app
      - X-authentik-meta-version

# Authelia guard
#auth:
 # forwardauth:
  # address: http://auth:9000/api/verify?rd=https://auth.domain.com/ # replace auth with your authelia container name
   # trustForwardHeader: true
    #authResponseHeaders:
     # - Remote-User
      #- Remote-Groups
      #- Remote-Name
      #- Remote-Email

# Authelia basic auth guard
#auth-basic:
 # forwardauth:
  # address: http://auth:9000/api/verify?auth=basic # replace auth with your authelia container name
   # trustForwardHeader: true
    #authResponseHeaders:
     # - Remote-User
      #- Remote-Groups
      #- Remote-Name
      #- Remote-Email

# Security headers
securityHeaders:
  headers:
    customResponseHeaders:
      X-Robots-Tag: "none,noarchive,nosnippet,notranslate,noimageindex"
      server: ""
      X-Forwarded-Proto: "https"
    sslProxyHeaders:
      X-Forwarded-Proto: https
    referrerPolicy: "strict-origin-when-cross-origin"
    hostsProxyHeaders:
      - "X-Forwarded-Host"
    customRequestHeaders:
      X-Forwarded-Proto: "https"
    contentTypeNosniff: true
    browserXssFilter: true
    forceSTSHeader: true
    stsIncludeSubdomains: true
    stsSeconds: 63072000
    stsPreload: true

```

# Only use secure ciphers - [Mozilla SSL Configuration Generator](https://ssl-config.mozilla.org/#server=traefik&version=2.6.0&config=intermediate&guideline=5.6)

tls:  
options:  
default:  
minVersion: VersionTLS12  
cipherSuites:  
- TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_GCM\_SHA256  
- TLS\_ECDHE\_RSA\_WITH\_AES\_128\_GCM\_SHA256  
- TLS\_ECDHE\_ECDSA\_WITH\_AES\_256\_GCM\_SHcomA384  
- TLS\_ECDHE\_RSA\_WITH\_AES\_256\_GCM\_SHA384  
- TLS\_ECDHE\_ECDSA\_WITH\_CHACHA20\_POLY1305  
- TLS\_ECDHE\_RSA\_WITH\_CHACHA20\_POLY1305

1. Traefik.yml:

global:  
checkNewVersion: true  
sendAnonymousUsage: false

serversTransport:  
insecureSkipVerify: true

entryPoints:

# Not used in apps, but redirect everything from HTTP to HTTPS

http:  
address: :80  
forwardedHeaders:  
trustedIPs: &trustedIps  
# Start of Clouflare public IP list for HTTP requests, remove this if you don't use it  
- 173.245.48.0/20  
- 103.21.244.0/22  
- 103.22.200.0/22  
- 103.31.4.0/22  
- 141.101.64.0/18  
- 108.162.192.0/18  
- 190.93.240.0/20  
- 188.114.96.0/20  
- 197.234.240.0/22  
- 198.41.128.0/17  
- 162.158.0.0/15  
- 104.16.0.0/12  
- 172.64.0.0/13  
- 131.0.72.0/22  
- 2400:cb00::/32  
- 2606:4700::/32  
- 2803:f800::/32  
- 2405:b500::/32  
- 2405:8100::/32  
- 2a06:98c0::/29  
- 2c0f:f248::/32  
# End of Cloudlare public IP list  
http:  
redirections:  
entryPoint:  
to: https  
scheme: https

# HTTPS endpoint, with domain wildcard

https:  
address: :443  
forwardedHeaders:  
# Reuse list of Cloudflare Trusted IP's above for HTTPS requests  
trustedIPs: _trustedIps  
http:  
tls:  
# Generate a wildcard domain certificate  
certResolver: letsencrypt  
domains:  
- main: [xxxxxxxxxxx.com](http://xxxxxxxxxxx.com)  
sans:  
- '_.xxxxxxxxxxxxx.com'  
middlewares:  
- securityHeaders@file

providers:  
providersThrottleDuration: 2s

# File provider for connecting things that are outside of docker / defining middleware

file:  
filename: /etc/traefik/fileConfig.yml  
watch: true

# Docker provider for connecting all apps that are inside of the docker network

docker:  
watch: true  
network: ibranet # Add Your Docker Network Name Here  
# Default host rule to containername.domain.example

# defaultRule: "Host(`{{ index .Labels \"com.docker.compose.service\"}}.xxxxxxxx.com`)"

```
defaultRule: "Host(`{{ lower (trimPrefix '/' .Name)}}.xxxxx.com`)"
#swarmModeRefreshSeconds: 15s #comment out or remove this line if using traefik v3
exposedByDefault: false
endpoint: "tcp://dockersocket:2375" # Uncomment if you are using docker socket proxy

```

# Enable traefik ui

api:  
dashboard: true  
insecure: true

# Log level INFO|DEBUG|ERROR

log:  
level: INFO

# Use letsencrypt to generate ssl serficiates

certificatesResolvers:  
letsencrypt:  
acme:  
email: xxxxxxxx@.com  
storage: /etc/traefik/acme.json  
dnsChallenge:  
provider: cloudflare  
# Used to make sure the dns challenge is propagated to the rights dns servers  
resolvers:  
- "1.1.1.1:53"  
- "1.0.0.1:53"com  
4) Wordpress docker-compose.yml

services:  
db:  
# We use a mariadb image which supports both amd64 & arm64 architecture  
image: mariadb:10.6.4-focal  
# If you really want to use MySQL, uncomment the following line  
#image: mysql:8.0.27  
command: '--default-authentication-plugin=mysql\_native\_password'  
volumes:  
- db\_data:/var/lib/mysql  
restart: always  
environment:  
- MYSQL\_ROOT\_PASSWORD=xxxxxxxxxxxxxxxxxxxxxx  
- MYSQL\_DATABASE=wordpress  
- MYSQL\_USER=xxxxxxxxxxxxxx  
- MYSQL\_PASSWORD=xxxxxxxxxxxxxxxxxx  
networks:  
- ibranet  
wordpress:  
image: wordpress:latest  
container\_name: wordpress  
volumes:  
- wp\_data:/var/www/html  
restart: always  
ports:  
- "80:80"  
environment:  
- WORDPRESS\_DB\_HOST=db  
- WORDPRESS\_DB\_USER=xxxxxxx  
- WORDPRESS\_DB\_PASSWORD=xxxxxxxxxxxxxxxxxx  
- WORDPRESS\_DB\_NAME=wordpress  
labels:  
traefik.enable: true  
traefik.http.routers.wordpress.entryPoints: https  
traefik.http.services.wordpress.loadbalancer.server.scheme: https  
traefik.http.routers.wordpress.rule: Host(`wordpress.XXXXXXXXX.com`)  
traefik.http.routers.wordpress.middlewares: wordpress-stripprefix@docker  
traefik.http.routers.wordpress.entryPoints: websecure  
traefik.http.routers.wordpress.tls: true  
traefik.http.routers.wordpress.tls.certresolver: letsencrypt  
ne#tworks:  
- ibranet

networks:  
ibranet:  
external: true

volumes:  
db\_data:  
wp\_data:

Thank you, I appreciate any and all help that I may get.

---

<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 10, 2025, 4:09pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/2 "2025-04-10T16:09:52Z")

</div>

Use 3 backticks before and after code/config to make it more readable and preserve spacing, which is important in yaml.

---

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 10, 2025, 7:13pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/3 "2025-04-10T19:13:19Z")

</div>

Hi, thanks for that but I don't understand what you are saying? From my reading of [community.traefik.io](http://community.traefik.io), you apparently tell a lot of people this exact thing and everyone comes back to you with more questions. Would be nice if you could explain in layman's terms so we don't waste your time and it helps everyone better in the long run.

I'm doing this for fun, homelab, not making any money off this. So if you could just get to the point, that would be great. You state use 3 backticks (where in the guide does it state this?) Where is an example of this. Not all of us are genius programmers like yourself. But, I'm not stupid, I can follow guides and examples.

Also, you state before/after code/config (very vague as it is all code? If you mean in my fileConfig, why not just say that and where I need 3 ticks.

Also, I asked about the error referencing myresolver?

---

<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 10, 2025, 7:26pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/4 "2025-04-10T19:26:56Z")

</div>

The config you posted is unreadable, as you have not formatted it correctly. As regular text all spacing is removed.

So you need to place 3 backticks before and after or select the config and press the `</>` button.

Then it looks like this:

```auto
Test:
  Indentation:
    It works

```

You can use the pencil icon to edit you original post.

---

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 10, 2025, 7:52pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/5 "2025-04-10T19:52:28Z")

</div>

Ok, sorry, you meant when uploading from my copy which was text, see below:

```auto
services:
  traefik:
    container_name: traefik
    image: traefik:latest
    ports:
      - 7480:80
      - 7443:443
      - 8080:8080 # Dashboard port
    volumes:
      - /opt/appdata/traefik/:/etc/traefik/
      - /var/run/docker.sock:/var/run/docker.sock:ro # ro = read-only access to the docker.sock      
    networks:
      - ibranet # rename this to your custom docker network
    labels:
      traefik.http.routers.api.rule: Host(`traefik.xxxxxx.com`) # Define the subdomain for the traefik dashboard.
      traefik.http.routers.api.entryPoints: https # Set the Traefik entry point.
      traefik.http.routers.api.service: api@internal # Enable Traefik API.
      traefik.enable: true # Enable Traefik reverse proxy for the Traefik dashboard.
    environment:
      DOCKER_HOST: dockersocket
      CF_DNS_API_TOKEN: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    restart: unless-stopped
    depends_on:
      - dockersocket

  dockersocket:
    container_name: dockersocket
    image: tecnativa/docker-socket-proxy
    volumes:
     - /var/run/docker.sock:/var/run/docker.sock
    networks:
     - ibranet
    environment:
      CONTAINERS: 1
      POST: 0
    privileged: true
    restart: unless-stopped

networks:
  ibranet:
    driver: bridge
    external: true

```

---

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 10, 2025, 7:54pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/6 "2025-04-10T19:54:14Z")

</div>

See below:

fileConfig.yml:

```auto
  ## EXTERNAL ROUTING EXAMPLE - Only use if you want to proxy something manually ##
  routers:
    # Wordpress routing example - Remove if not used
    wordpress:
      entryPoints:
        - https
      rule: 'Host(`wordpress.xxxxxxx.com`)'
      service: wordpress
      #middlewares:
       # - "auth"  
  ##SERVICES EXAMPLE ##
  services:
    # Wordpress service example - Remove if not used
    wordpress:
      loadBalancer:
        servers:
          - url: http://10.xx.1.xx:80/

  ## MIDDLEWARES ##
  middlewares:
    # Only Allow Local networks
    local-ipwhitelist:
      ipWhiteList:
        sourceRange: 
          - 127.0.0.1/32 # localhost
          - 192.168.1.1/24 # LAN Subnet

    auth: #for Authentik
      forwardauth:
        address: http://authentik-server:9000/outpost.goauthentik.io/auth/traefik
        trustForwardHeader: true
        authResponseHeaders:
          - X-authentik-username
          - X-authentik-groups
          - X-authentik-email
          - X-authentik-name
          - X-authentik-uid
          - X-authentik-jwt
          - X-authentik-meta-jwks
          - X-authentik-meta-outpost
          - X-authentik-meta-provider
          - X-authentik-meta-app
          - X-authentik-meta-version
  
    # Authelia guard
    #auth:
     # forwardauth:
      # address: http://auth:9000/api/verify?rd=https://auth.domain.com/ # replace auth with your authelia container name
       # trustForwardHeader: true
        #authResponseHeaders:
         # - Remote-User
          #- Remote-Groups
          #- Remote-Name
          #- Remote-Email
  
    # Authelia basic auth guard
    #auth-basic:
     # forwardauth:
      # address: http://auth:9000/api/verify?auth=basic # replace auth with your authelia container name
       # trustForwardHeader: true
        #authResponseHeaders:
         # - Remote-User
          #- Remote-Groups
          #- Remote-Name
          #- Remote-Email

    # Security headers
    securityHeaders:
      headers:
        customResponseHeaders:
          X-Robots-Tag: "none,noarchive,nosnippet,notranslate,noimageindex"
          server: ""
          X-Forwarded-Proto: "https"
        sslProxyHeaders:
          X-Forwarded-Proto: https
        referrerPolicy: "strict-origin-when-cross-origin"
        hostsProxyHeaders:
          - "X-Forwarded-Host"
        customRequestHeaders:
          X-Forwarded-Proto: "https"
        contentTypeNosniff: true
        browserXssFilter: true
        forceSTSHeader: true
        stsIncludeSubdomains: true
        stsSeconds: 63072000
        stsPreload: true

# Only use secure ciphers - https://ssl-config.mozilla.org/#server=traefik&version=2.6.0&config=intermediate&guideline=5.6
tls:
  options:
    default:
      minVersion: VersionTLS12
      cipherSuites:
        - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
        - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
        - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
        - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
        - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305

```

---

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 10, 2025, 7:55pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/7 "2025-04-10T19:55:22Z")

</div>

```auto
global:
  checkNewVersion: true
  sendAnonymousUsage: false

serversTransport:
  insecureSkipVerify: true

entryPoints:
  # Not used in apps, but redirect everything from HTTP to HTTPS
  http:
    address: :80
    forwardedHeaders:
      trustedIPs: &trustedIps
        # Start of Clouflare public IP list for HTTP requests, remove this if you don't use it
        - 173.245.48.0/20
        - 103.21.244.0/22
        - 103.22.200.0/22
        - 103.31.4.0/22
        - 141.101.64.0/18
        - 108.162.192.0/18
        - 190.93.240.0/20
        - 188.114.96.0/20
        - 197.234.240.0/22
        - 198.41.128.0/17
        - 162.158.0.0/15
        - 104.16.0.0/12
        - 172.64.0.0/13
        - 131.0.72.0/22
        - 2400:cb00::/32
        - 2606:4700::/32
        - 2803:f800::/32
        - 2405:b500::/32
        - 2405:8100::/32
        - 2a06:98c0::/29
        - 2c0f:f248::/32
        # End of Cloudlare public IP list
    http:
      redirections:
        entryPoint:
          to: https
          scheme: https

  # HTTPS endpoint, with domain wildcard
  https:
    address: :443
    forwardedHeaders:
      # Reuse list of Cloudflare Trusted IP's above for HTTPS requests
      trustedIPs: *trustedIps
    http:
      tls:
        # Generate a wildcard domain certificate
        certResolver: letsencrypt
        domains:
          - main: xxxxxxxxxxx.com
            sans:
              - '*.xxxxxxxxxxxxx.com'
      middlewares:
        - securityHeaders@file

providers:
  providersThrottleDuration: 2s

  # File provider for connecting things that are outside of docker / defining middleware
  file:
    filename: /etc/traefik/fileConfig.yml
    watch: true

  # Docker provider for connecting all apps that are inside of the docker network
  docker:
    watch: true
    network: ibranet # Add Your Docker Network Name Here
    # Default host rule to containername.domain.example
   # defaultRule: "Host(`{{ index .Labels \"com.docker.compose.service\"}}.xxxxxxxx.com`)"
    defaultRule: "Host(`{{ lower (trimPrefix '/' .Name)}}.xxxxx.com`)"
    #swarmModeRefreshSeconds: 15s #comment out or remove this line if using traefik v3
    exposedByDefault: false
    endpoint: "tcp://dockersocket:2375" # Uncomment if you are using docker socket proxy

# Enable traefik ui
api:
  dashboard: true
  insecure: true

# Log level INFO|DEBUG|ERROR
log:
  level: INFO

# Use letsencrypt to generate ssl serficiates
certificatesResolvers:
  letsencrypt:
    acme:
      email: xxxxxxxx@.com
      storage: /etc/traefik/acme.json
      dnsChallenge:
        provider: cloudflare
        # Used to make sure the dns challenge is propagated to the rights dns servers
        resolvers:
          - "1.1.1.1:53"
          - "1.0.0.1:53"
   

```

Wordpress docker-compose.yml

```auto
services:
  db:
    # We use a mariadb image which supports both amd64 & arm64 architecture
    image: mariadb:10.6.4-focal
    # If you really want to use MySQL, uncomment the following line
    #image: mysql:8.0.27
    command: '--default-authentication-plugin=mysql_native_password'
    volumes:
      - db_data:/var/lib/mysql
    restart: always
    environment:
      - MYSQL_ROOT_PASSWORD=xxxxxxxxxxxxxxxxxx
      - MYSQL_DATABASE=wordpress
      - MYSQL_USER=xxxxxx
      - MYSQL_PASSWORD=xxxxxxxxxxxxxxxxxx
    networks:
      - ibranet
  wordpress:
    image: wordpress:latest
    container_name: wordpress
    volumes:
      - wp_data:/var/www/html
    restart: always
    ports:
      - "80:80"
    environment:
      - WORDPRESS_DB_HOST=db
      - WORDPRESS_DB_USER=xxxxxxxxx
      - WORDPRESS_DB_PASSWORD=xxxxxxxxxxxxxxxxxxx
      - WORDPRESS_DB_NAME=wordpress
    labels:
      traefik.enable: true
      traefik.http.routers.wordpress.entryPoints: https
      traefik.http.services.wordpress.loadbalancer.server.scheme: https
      traefik.http.routers.wordpress.rule: Host(`wordpress.XXXXXXXXX.com`)
      traefik.http.routers.wordpress.entryPoints: websecure
      traefik.http.routers.wordpress.tls: true
      traefik.http.routers.wordpress.tls.certresolver: letsencrypt
    ne#tworks:
      - ibranet

networks:
  ibranet:
    external: true

volumes:
  db_data:
  wp_data:
  

```

---

<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 10, 2025, 8:31pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/8 "2025-04-10T20:31:52Z")

</div>

In static config `traefik.yml` you define `entrypoints` "http" and "https". Later you assign an unknown entrypoint:

> [@traefikuser](#):
>
> `traefik.http.routers.wordpress.entryPoints: websecure`

Not sure why you define WordPress in Traefik dynamic config file and in Docker labels. It’s only needed once.

In general I recommend to simplify config as much as possible, place redirects and TLS globally on `entrypoint`, only use https `router` in labels. Check [simple Traefik example](https://github.com/bluepuma77/traefik-best-practice/tree/main/docker-traefik-dashboard-letsencrypt) and [dnsChallenge example](https://github.com/bluepuma77/traefik-best-practice/tree/main/docker-traefik-dnschallenge).

---

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 10, 2025, 9:22pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/9 "2025-04-10T21:22:38Z")

</div>

I sent you wrong version of my traefik.yml: traefik.http.routers.wordpress.entryPoints: websecure.

I don't have that in traefik.yml anymore, I commented it out.

I commented out my fileConfig section where I define entry points for Wordpress.

My question is this: do I leave entry points defined "http: and "https" as is in traefik.yml and then in my wordpress docker (docker-compose.yml) define entry point as traefik.http.routers.wordpress.entryPoints: https? under the label section?

I did this only defining the entryPoint once, I believe, still get exact same errors after doing a --force-recreate on the traefik container.

---

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 11, 2025, 6:11pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/10 "2025-04-11T18:11:52Z")

</div>

Hi, still having the same error codes even after making the following changes:

Error codes from docker:

2025-04-11T17:55:54Z ERR EntryPoint doesn't exist entryPointName=websecure routerName=wordpress@docker  
2025-04-11T17:55:54Z ERR No valid entryPoint for this router routerName=wordpress@docker  
2025-04-11T17:55:54Z ERR EntryPoint doesn't exist entryPointName=websecure routerName=wordpress@docker  
2025-04-11T17:55:54Z ERR No valid entryPoint for this router routerName=wordpress@docker  
2025-04-11T17:55:54Z ERR Router uses a nonexistent certificate resolver certificateResolver=myresolver routerName=wordpress@docker

---

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 11, 2025, 6:12pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/11 "2025-04-11T18:12:06Z")

</div>

Dynamic file (fileConfig.yml):

```auto
http:
# ## EXTERNAL ROUTING EXAMPLE - Only use if you want to proxy something manually ##
# routers:
# # Wordpress routing example - Remove if not used
# wordpress:
# entryPoints:
# - https
# rule: 'Host(`wordpress.xxxxxxxxx.com`)'
# service: wordpress
# middlewares:
# - "auth"  
# ##SERVICES EXAMPLE ##
# services:
# # Wordpress service example - Remove if not used
# wordpress:
# loadBalancer:
# servers:
# - url: http://10.xxx.xxx.xxx:80/

  ## MIDDLEWARES ##
  middlewares:
    # Only Allow Local networks
    local-ipwhitelist:
      ipWhiteList:
        sourceRange: 
          - 127.0.0.1/32 # localhost
          - 192.168.1.1/24 # LAN Subnet

    auth: #for Authentik
      forwardauth:
        address: http://authentik-server:9000/outpost.goauthentik.io/auth/traefik
        trustForwardHeader: true
        authResponseHeaders:
          - X-authentik-username
          - X-authentik-groups
          - X-authentik-email
          - X-authentik-name
          - X-authentik-uid
          - X-authentik-jwt
          - X-authentik-meta-jwks
          - X-authentik-meta-outpost
          - X-authentik-meta-provider
          - X-authentik-meta-app
          - X-authentik-meta-version
  
    # Authelia guard
    #auth:
     # forwardauth:
      # address: http://auth:9000/api/verify?rd=https://auth.domain.com/ # replace auth with your authelia container name
       # trustForwardHeader: true
        #authResponseHeaders:
         # - Remote-User
          #- Remote-Groups
          #- Remote-Name
          #- Remote-Email
  
    # Authelia basic auth guard
    #auth-basic:
     # forwardauth:
      # address: http://auth:9000/api/verify?auth=basic # replace auth with your authelia container name
       # trustForwardHeader: true
        #authResponseHeaders:
         # - Remote-User
          #- Remote-Groups
          #- Remote-Name
          #- Remote-Email

    # Security headers
    securityHeaders:
      headers:
        customResponseHeaders:
          X-Robots-Tag: "none,noarchive,nosnippet,notranslate,noimageindex"
          server: ""
          X-Forwarded-Proto: "https"
        sslProxyHeaders:
          X-Forwarded-Proto: https
        referrerPolicy: "strict-origin-when-cross-origin"
        hostsProxyHeaders:
          - "X-Forwarded-Host"
        customRequestHeaders:
          X-Forwarded-Proto: "https"
        contentTypeNosniff: true
        browserXssFilter: true
        forceSTSHeader: true
        stsIncludeSubdomains: true
        stsSeconds: 63072000
        stsPreload: true

# Only use secure ciphers - https://ssl-config.mozilla.org/#server=traefik&version=2.6.0&config=intermediate&guideline=5.6
tls:
  options:
    default:
      minVersion: VersionTLS12
      cipherSuites:
        - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
        - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
        - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
        - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
        - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305

```

---

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 11, 2025, 6:12pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/12 "2025-04-11T18:12:42Z")

</div>

Static file (traefik.yml)

```auto
global:
  checkNewVersion: true
  sendAnonymousUsage: false

serversTransport:
  insecureSkipVerify: true

entryPoints:
  # Not used in apps, but redirect everything from HTTP to HTTPS
  http:
    address: :80
    forwardedHeaders:
      trustedIPs: &trustedIps
        # Start of Clouflare public IP list for HTTP requests, remove this if you don't use it
        - 173.245.48.0/20
        - 103.21.244.0/22
        - 103.22.200.0/22
        - 103.31.4.0/22
        - 141.101.64.0/18
        - 108.162.192.0/18
        - 190.93.240.0/20
        - 188.114.96.0/20
        - 197.234.240.0/22
        - 198.41.128.0/17
        - 162.158.0.0/15
        - 104.16.0.0/12
        - 172.64.0.0/13
        - 131.0.72.0/22
        - 2400:cb00::/32
        - 2606:4700::/32
        - 2803:f800::/32
        - 2405:b500::/32
        - 2405:8100::/32
        - 2a06:98c0::/29
        - 2c0f:f248::/32
        # End of Cloudlare public IP list
    http:
      redirections:
        entryPoint:
          to: https
          scheme: https

  # HTTPS endpoint, with domain wildcard
  https:
    address: :443
    forwardedHeaders:
      # Reuse list of Cloudflare Trusted IP's above for HTTPS requests
      trustedIPs: *trustedIps
    http:
      tls:
        # Generate a wildcard domain certificate
        certResolver: letsencrypt
        domains:
          - main: xxxxxxxxxxxxxxxxxx.com
            sans:
              - '*.xxxxxxxxxxxxxxxxx.com'
      middlewares:
        - securityHeaders@file

providers:
  providersThrottleDuration: 2s

  # File provider for connecting things that are outside of docker / defining middleware
  file:
    filename: /etc/traefik/fileConfig.yml
    watch: true

  # Docker provider for connecting all apps that are inside of the docker network
  docker:
    watch: true
    network: ibranet # Add Your Docker Network Name Here
    # Default host rule to containername.domain.example
   # defaultRule: "Host(`{{ index .Labels \"com.docker.compose.service\"}}.xxxxxxx.com`)"
    defaultRule: "Host(`{{ lower (trimPrefix '/' .Name)}}.xxxxxxxx.com`)"
    #swarmModeRefreshSeconds: 15s #comment out or remove this line if using traefik v3
    exposedByDefault: false
    endpoint: "tcp://dockersocket:2375" # Uncomment if you are using docker socket proxy

# Enable traefik ui
api:
  dashboard: true
  insecure: true

# Log level INFO|DEBUG|ERROR
log:
  level: INFO

# Use letsencrypt to generate ssl serficiates
certificatesResolvers:
  letsencrypt:
    acme:
      email: xxxxxx@xxxxxx.com
      storage: /etc/traefik/acme.json
      dnsChallenge:
        provider: cloudflare
        # Used to make sure the dns challenge is propagated to the rights dns servers
        resolvers:
          - "1.1.1.1:53"
          - "1.0.0.1:53"

```

---

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 11, 2025, 6:13pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/13 "2025-04-11T18:13:06Z")

</div>

Wordpress (docker compose file - only place with one set of labels per your instructions for Entrypoints)

```auto
services:
  db:
    # We use a mariadb image which supports both amd64 & arm64 architecture
    image: mariadb:10.6.4-focal
    # If you really want to use MySQL, uncomment the following line
    #image: mysql:8.0.27
    command: '--default-authentication-plugin=mysql_native_password'
    volumes:
      - db_data:/var/lib/mysql
    restart: always
    environment:
      - MYSQL_ROOT_PASSWORD=xxxxxxxxxxxxx
      - MYSQL_DATABASE=wordpress
      - MYSQL_USER=xxxxxxxxxxxxxx
      - MYSQL_PASSWORD=xxxxxxxxxx
    networks:
      - ibranet
  wordpress:
    image: wordpress:latest
    container_name: wordpress
    volumes:
      - wp_data:/var/www/html
    restart: always
    ports:
      - "80:80"
    environment:
      - WORDPRESS_DB_HOST=db
      - WORDPRESS_DB_USER=xxxxxx
      - WORDPRESS_DB_PASSWORD=xxxxxxxxxxxxx
      - WORDPRESS_DB_NAME=wordpress
    labels:
      traefik.enable: true
      traefik.http.routers.wordpress.entryPoints: https
      traefik.http.services.wordpress.loadbalancer.server.scheme: https
     # traefik.http.middlewares.auth.basicauth.users: admin:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
     # traefik.http.routers.wordpress.rule: Host(`wordpress.xxxxxxxxx.com`)
     # traefik.http.routers.wordpress.middlewares: auth
     # traefik.http.routers.wordpress.middlewares: wordpress-stripprefix@docker
     # traefik.http.routers.wordpress.entryPoints: websecure
     # traefik.http.routers.wordpress.tls: true
     # traefik.http.routers.wordpress.tls.certresolver: letsencrypt
    ne#tworks:
      - ibranet

networks:
  ibranet:
    external: true

volumes:
  db_data:
  wp_data:
```

---

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 11, 2025, 6:28pm UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/14 "2025-04-11T18:28:36Z")

</div>

Ok, finally after the latest changes and force-recreating the wordpress docker container, have access to wordpress locally and no errors. New issue is cannot access [wordpress.xxxx.com](http://wordpress.xxxx.com) with domain name. I'll work on this issue but at least getting somewhere now.

---

<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 12, 2025, 6:25am UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/15 "2025-04-12T06:25:39Z")

</div>

> [@traefikuser](#):
>
> `entryPoints: websecure`

in labels should be `entryPoints: https`, as that is the name you specified in static config.

Then of course you need a `rule` to enable matching, it’s commented out. I did share a link to a simple working setup.

When Traefik is running, you might run into a different issue that WordPress is continuously redirecting you to the URL it was originally installed to during first setup (like localhost with http). That needs to be changed manually in database in two fields, as far as I remember.

---

<div class="post-metadata">

**Author:** ![traefikuser](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@traefikuser](https://community.traefik.io/u/traefikuser)\
**Post date:** [April 12, 2025, 6:58am UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/16 "2025-04-12T06:58:55Z")

</div>

Thanks for the reply.

That's weird, maybe going back and forth, I commented the rule out by mistake.

I also incorrectly had the wrong port for wordpress so that's why couldn't access it by domain name.

I have no errors now, and the Traefik webgui shows routers, services, entrypoints as good but now the issues is when I try to access wordpress locally on my home network at 10.xxx.xxx. xxx:80 it keeps going to http, it doesn't get routed to https. Also, I can't get basic auth to work at all. Probably a typo, so will keep looking at it. Thank you

---

<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 12, 2025, 10:49am UTC](https://community.traefik.io/t/err-entrypoint-doesnt-exist-entrypointname-err-router-uses-a-nonexistent-certificate-resolver/27150/17 "2025-04-12T10:49:42Z")

</div>

As mentioned, WordPress might redirect, check browser developer tools network tab.
