custom domain: You need allocated IPs and services on your fly.toml to be able to set your certificates properly

I am trying to get a custom domain to work. I don’t see anywhere in fly.toml to add an ip address as suggested by message in certificates section of fly admin website.

I think dns and fly is configured correctly. I just don’t understand the message. if someone can point me to the issue I would take a look.

flyctl ips list
VERSION IP TYPE REGION CREATED AT
v4 66.51.123.120 public global 2023-03-22T19:45:15Z
v6 2a09:8280:1::24:182 public global 2023-03-22T19:12:56Z

dig ski-touring-safety.com A

; <<>> DiG 9.10.6 <<>> ski-touring-safety.com A
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41795
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;ski-touring-safety.com. IN A
;; ANSWER SECTION:
ski-touring-safety.com. 300 IN A 66.51.123.120

;; Query time: 41 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Mon Dec 11 12:33:25 PST 2023
;; MSG SIZE rcvd: 89

fly.toml
[[services]]
http_checks =
internal_port = 8080
processes = [“app”]
protocol = “tcp”
script_checks =
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = “connections”

[[services.ports]]
force_https = true
handlers = [“http”]
port = 80

[[services.ports]]
handlers = [“tls”, “http”]
port = 443

[[services.tcp_checks]]
grace_period = “1s”
interval = “15s”
restart_limit = 0
timeout = “2s”

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.