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개 답변
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/

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠