Setup DNS
Traefik will install and extends SSL certificates automatically. To make it possible we need to link your domain and your server IP address via DNS. There many options how you can configure your domain. I will show the most simple option: domain and all subdomains will be linked to your IP.
Add the following DNS records to your domain:
Type | Name | Content | TTL |
---|---|---|---|
A | @ | "YOUR IP" | 3600 |
A | * | "YOUR IP" | 3600 |
Here is an example how the new DNS records shall look like:
Type | Name | Content | TTL |
---|---|---|---|
A | example.com | 1.1.1.1 | 3600 |
A | *.example.com | 1.1.1.1 | 3600 |