Skip to main content
Version: 1.0.0

Custom Routes

Epinio has the concept of a "system domain". This domain is set when installing Epinio (with the global.domain helm value). It must be a wildcard domain and is used in 2 different cases:

  • To create a URL for the Epinio API server
  • To create URLs for the applications deployed with Epinio (also known as "Routes")

For example, if Epinio was deployed with global.domain set to

  • The Epinio API would be accessible at
  • An application named "myapp" would be accessible at:

This requires zero setup for each application. However, sometimes it is needed or desired to add a custom domain, dedicated to the application. Let's assume that the application above must also be accessible on

Add this domain to your application with the command below:

epinio app update sample --route

Attention, this removed the original route! To keep it, it has to be explicitly specified:

epinio app update sample --route --route

The --route parameter can also be passed when the app is first pushed:

epinio app push -n sample -p . --route

Epinio will try to create a TLS certificate for any defined route, like it does for the wildcard system domain ones. Depending on the issuer that is being used, DNS may have to work before the domain can be used. In other words, the domain must resolve to the cluster's Ingress IP. Read more about the issuers here: Certificate Issuers