- Newest
- Most votes
- Most comments
Kidd Ip is correct, there's no self-service way to resolve this. In order to expedite the support case (if you haven't already opened it and made progress by now), provide as much of the evidence as possible upfront to minimize any back-and-forth with the support engineer. For example:
Step 1: Open an AWS Support Case (Required) Open a support case with the following details:
- Service: CloudFront (or Amplify Hosting)
- Category: Domain / CNAME configuration
- Severity: High (production site is down with SSL errors)
- Subject: "Request removal of orphaned CNAME aliases from Amplify-managed CloudFront distribution"
- Body: include all of this:
Both theexecutiveoutlook.com and www.theexecutiveoutlook.com are held as
aliases on an orphaned Amplify-managed CloudFront distribution from a
deleted Amplify app (2023). The distribution is NOT in our account, it's
in Amplify's internal service infrastructure.
Evidence:
- openssl s_client shows an expired ACM cert (expired Feb 2 2024) for
CN=www.theexecutiveoutlook.com issued by Amazon RSA 2048 M02
- aws cloudfront list-conflicting-aliases returns 0 results against our
distribution, confirming the conflict is cross-account
- DNS currently points to d17zs2jqzvnvgp.cloudfront.net
- Current Amplify App ID: d108r8v4c0edv8 (ap-southeast-1)
- Route 53 Hosted Zone: Z0912169PGA4JNKMS7B0
- Custom ACM cert (us-east-1): arn:aws:acm:us-east-1:[ACCOUNT-ID]:certificate/7447d997-de01-4580-8b07-667669fb38b1
Request: Please remove both aliases (theexecutiveoutlook.com and
www.theexecutiveoutlook.com) from the orphaned internal CloudFront
distribution so we can associate them with our new Amplify app.
Step 2: Prepare DNS TXT Records for Ownership Verification AWS Support will likely ask you to prove domain ownership. Before they respond, proactively create these TXT records in your Route 53 hosted zone:
Record Name Type Value
_.theexecutiveoutlook.com TXT d17zs2jqzvnvgp.cloudfront.net
_www.theexecutiveoutlook.com TXT d17zs2jqzvnvgp.cloudfront.net
(Replace d17zs2jqzvnvgp.cloudfront.net with whatever CloudFront domain your new Amplify app assigns, if different.)
This follows the target distribution setup procedure and will speed up the support process.
Step 3: Also Try list-domain-conflicts (Newer API) Before Support responds, try the newer list-domain-conflicts API which may give you more information than list-conflicting-aliases:
aws cloudfront list-domain-conflicts \
--domain theexecutiveoutlook.com \
--domain-control-validation-resource "DistributionId=<YOUR_CF_DISTRIBUTION_ID>"
This returns the partially-masked account ID and resource type of the conflicting resource, which can be useful evidence for the support case.
To my understanding, there is no self‑service way to release aliases from Amplify’s internal CloudFront distributions but AWS Support is required.
https://docs.aws.amazon.com/amplify/laatest/userguide/custom-domains.html
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html
Relevant content
- asked a year ago
