Support for creating multiple CNAMES per container
See original GitHub issueWith Traefik 2 you can create multiple subdomains for a single container, like so
- "traefik.http.routers.foobar-rtr.rule=Host(`foo.$DOMAIN_NAME`,`bar.$DOMAIN_NAME`)"
or like so
- "traefik.http.routers.foobar-rtr.rule=Host(`foo.$DOMAIN_NAME`)"
- "traefik.http.routers.foobar-rtr.rule=Host(`bar.$DOMAIN_NAME`)"
It seems that only one subdomain per container is seen by this tool and only a single CNAME is created. It would be nice if this tool would catch and create all of the CNAMES defined in a container’s compose file with either method of formatting in these examples.
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (11 by maintainers)
Top Results From Across the Web
Can we have multiple CNAMES for a single Name?
You cannot. A CNAME makes one record another name for another. If a record could have CNAMES for two names ...
Read more >Can I have multiple CNAME records? - Quora
You can have multiple CNAME records on the same subdomain, each returned on some condition, but the DNS will only return a single...
Read more >Using an SSL certificate for multiple CNAMEs ... - Amazon AWS
To use an SSL certificate for multiple domain names with CloudFront, import your certificate into ACM or the AWS Identity and Access Management ......
Read more >CNAME Reuse - Imperva Documentation Portal
Imperva enables the use of site settings for several different domains that share the same IP address. This is implemented by using a...
Read more >Add a CNAME record to your domain's DNS records
Go to your domain's DNS records. Add a record to your DNS settings, selecting CNAME as the record type. Return to the first...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve identified the issue - Terribly sorry. This broke when introducing support for Traefik 2.2.2 a few weeks back. A new tag
tiredofit/traefik-cloudflare-companion:latest
andtiredofit/traefik-cloudflare-companion:4.2.1
is now available on Docker HubThere’s a wildcard that should allow Host, HostSNI, HostHeader etc…