Lightsail Container Service - What IP to use for DNS

0

I'm trying to connect my domain to a Lightsail Container Service. The DNS records are hosted at Cloudflare.

When running a VPS, I would usually update the DNS A-record to point to the static IP address for my server, but I can't work out how to attach a public static IP to my container service, and as far as I can tell the apex of a domain must point to an IP address.

Can this be achieved without moving my DNS service to Amazon?

已提問 1 年前檢視次數 226 次
1 個回答
0
已接受的答案

I discovered a solution.

Cloudflare actually allows you to use a CNAME for the apex/root of your domain and it implements something it calls "CNAME flattening" to resolve the IP at the end of the chain.

https://blog.cloudflare.com/introducing-cname-flattening-rfc-compliant-cnames-at-a-domains-root/

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南