Skip to content

Custom Domain Setup Fails Immediately on SSL/DNS Verification in AWS Amplify #2196

@Florian-Altermaker

Description

@Florian-Altermaker

Environment information

npm ERR! could not determine executable to run

Describe the bug

Description:

I'm experiencing an issue with custom domain setup in AWS Amplify where SSL/DNS verification fails almost immediately, without allowing enough time to update the DNS CNAME record on my end.

Observed Behavior:

Amplify retries the SSL/DNS verification far too quickly, not allowing time for DNS propagation.
After failure, clicking "Retry" generates a new CloudFront URL (e.g., d3a5m5vi53avm0.cloudfront.net), which requires updating the DNS CNAME record again, leading to the same cycle of immediate failure.

Expected Behavior:
In previous experiences with Amplify, the verification process typically waits for a few hours, allowing time to update the CNAME and for the DNS changes to propagate. This has been reliable and allows sufficient time for DNS configuration. I would expect Amplify to either:

Provide a longer window for DNS propagation before verification fails, or
Allow me to retry with the same CloudFront distribution URL, rather than generating a new one with each retry.

Impact:

This is creating a repetitive cycle where I'm unable to successfully configure my custom domain due to the rapid verification failures and changing CloudFront URLs. As a result, I’m unable to use my custom domain with Amplify.

Thank you for your support and any guidance on resolving this or options to force a longer DNS verification period.

Reproduction steps

Steps to Reproduce:

I initiate a custom domain setup in AWS Amplify and receive a CloudFront distribution URL (e.g., d2cr9j4da5u69e.cloudfront.net).
I create a CNAME record with this CloudFront URL on my DNS provider as requested.
Instead of waiting several hours as usual, Amplify attempts verification almost immediately (within a minute or so) and fails the process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    hostingIssue related to Amplify Hostingpending-community-responseIssue is pending a response from the author or communityquestionQuestion or confusion about some aspect of the product

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions