Custom domains cannot be configured on Kubernetes Edge Ingress CRD
This page explains how to use Traefik Hub with custom domains.
Custom domains allow you to make your sites accessible at your own domain names (for example,
Before you begin¶
This feature requires you to have:
- Your own domain with DNS records that you can update
- An already published service with Traefik Hub
Publishing through Custom Domain¶
The custom domain feature is based on DNS records configuration.
Using canonical names, you can forward your domain to the domain Traefik Hub generated for your service.
Custom domains only work for already published services
Find the service you want to publish with your custom domain and get the generated domain.
In your DNS provider, add a
CNAME record pointing your custom domain to the Traefik Hub generated URL,
mydomain.dev pointing to
The generated domain name remains valid unless you unpublish your service.
|Domain||The domain you want to use to access your service.
|TTL||Time-to-live for DNS caching mechanisms, in seconds.
|Type||Type of record you are creating for your domain.
After the DNS record is set up, go back to the service page and add your domain to the Custom address section and select Save.
Once every step is completed, it may take a few seconds for the system to apply the configuration.
Not Trusted Certificates
Generating a Let's Encrypt certificate for the new domains requires more time than exposing the service. It might end in a window where the service is available with the wrong certificate. During this time, Traefik Hub serves a self-signed certificate.