How to work with Aliases

Hi, I have set a docker-compose file to use Grafana, I'm using traefik for autoSSL certificates.

The DNS is metrics.cloud.au, and it is working fine (it creates the SSL certificates from Let's Encrypt). However, I also have an alias of the previous domain—metrics.erc.au—created by a private institution, so this can't generate SSL certs from Let's Encrypt. How can I make it work traefik for the alias?

If your Traefik can be reached via the alias domain name, then you can create a LetsEncrypt TLS cert via httpChallenge or tlsChallenge.