apprunner-roadmap icon indicating copy to clipboard operation
apprunner-roadmap copied to clipboard

Bug: Unable to link a subdomain from Route53 to App Runner

Open richardm opened this issue 2 years ago • 2 comments

I have a simple application consisting of a React SPA (CloudFront/S3) and a Node.js API hosted in App Runner. Because my root domain is pointed to CloudFront, I need to point a subdomain, like api.example.com to my App Runner instance.

The docs and press releases claim I can go to my App Runner service -> Custom domains -> link domains -> Amazon Route 53 and link a custom sub-domain, but the only domain available to select is my root domain name, which I already have pointed to CloudFront. I don't see any way to specify a subdomain.

richardm avatar Jan 06 '24 22:01 richardm

@richardm I just went through this myself and the solution that worked for me was to not select Amazon Route 53 as the domain registrar. Select Non-Amazon instead and add the CNAME records to Route 53 separately. Then add an A record alias for the desired subdomain pointing to the app runner service.

jeffkeller-einc avatar Jan 17 '24 18:01 jeffkeller-einc