D
Dokploy6mo ago
mov3

WildCard SubDomain

Hey Everyone! Can someone please guide me how to add wildcard domain in the application domain section, i want to have 100s of sub domain for my app, but manually adding each of them in Domain or Traefik yml is not efficient. So Can someone please tell me how to add wildcard Domain so that i dont have to handle each sub domain.
12 Replies
Sang Dang
Sang Dang6mo ago
I think this is depended on the provider. Some allow you to have A record *.yourdomain.com point to 12.34.56.78 (your Dokploy' IP) and with this you can set anything inside dokploy and it just works. I do this way on ClouDNS and it works with 2 of my servers. When I work with my friend, some of their providers do NOT allow to add * so this is not Dokploy limitation or setup.
mov3
mov3OP6mo ago
i am using Cloudflare and have added * wildcard A record. Issue is when adding wildcard * in domain config of application, the Dokploy/traefik don't let the request go through to app, it only let it through when i added the name of subdomain in Domain config section, for e.g: ny.abc.com . It does not work with *.abc.com As i have large number of subdomain requirement i want some kind of Wildcard ability.
Ilo
Ilo6mo ago
i have same issue, the subdomain cannot be access until we manually added the records to cloudflare
Sang Dang
Sang Dang6mo ago
when I still used EasyPanel (similar to Dokploy), I saw they have some extra steps for Cloudflare, this is why I break up with any friend who use that service and punch the client if I had a chance to meet them in person just kiddin but that what I would like to do if that didn't cause me jailed
Ilo
Ilo5mo ago
i just solved with restart the traefik instance on each domain added to update the dns list
Samy
Samy2mo ago
Im having the same issue
Rei零
Rei零2mo ago
I have the same issue!
Samy
Samy2mo ago
@Siumauricio sorry, but can you please help me?
Siumauricio
Siumauricio2mo ago
Traefik HTTP Routers Rules & Priority Documentation - Traefik
In Traefik Proxy, an HTTP router is in charge of connecting incoming requests to the Services that can handle them. Read the technical documentation.
Siumauricio
Siumauricio2mo ago
you can modify the traefik config by yourself
Samy
Samy2mo ago
thanks it's working now

Did you find this page helpful?