CNAME not working in Lightsail Custom Domain


I have a domain named ''. Custom domain has the domain in it. It is registered outside AWS and Name Server is pointed to AWS Custom Domain in Lightsail. Here is the setup for it.

  1. Lightsail container hosts NextJS.
  2. AWS Cloudfront CDN in Lightsail points to Lightsail container. AWS ACM has certificate for '' and '' and is assigned to it.
  3. Custom domain has A record entry for pointed to CDN custom domain name. And a CNAME record for '' to ''.

However, when I try to check for CNAME record in DNS checker, I get the error that no CNAME record exists. Also, does not redirect to I am using SEMRUSH for SEO and I kept getting the duplicate meta tag errors that state that '' and '' both have same meta tags.

1 Answer


I'm sorry to hear about your challenge with using custom domain and a distribution. It sounds like you have a domain that is registered externally but have setup a Hosted Zone inside Lightsail.

  1. Have you confirmed that the ns records for the Lightsail Hosted Zone are setup with the original registrar, making the LS Hosted Zone the active/authoritative one? Lightsail provides guidance here:
  2. Have you followed the guidance found in this "how to?"

The creation of a CNAME record but then DNS checking and not seeing it makes it sound like the original registrar's hosted zone is still the active one. If that's the case, that is issue #1 above, and the linked guidance should help.

Please let us know if you remain blocked and we can try to assist further.


answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions