Can't activate root domain for my amplify app

0

Hi there!
I had my react app deployed and worked successfully, yesterday I updated my git repo, but my web site didn't work as I expected, so I checked my amplify console for issues and found something weird like my domain name disappeared, but it still worked correctly as I see it now. So I decided to add my custom domain again, but got an error "One or more of the CNAMEs you provided are already associated with a different resource" at the last step of domain activation. But I had only one amplify app (I don't have any records at CloudFront). Then I deleted that amplify app, deleted all dns records for my domain in Route 53. Then I've created a new amplify app (now I have only one app) but I still get the same error for domain activation step. Now I excluded root domain for my app and try to activate a sub domain like sub.mydomain.com. I don't get any errors but activation is still being processed, but I'm sure it will be completed. I use Route 53 and I'm sure that my domain is delegated to it. I assume I can activate a sub domain, but what is wrong with my root domain? Amplify automatically adds dns records it needs, so it is not my mistake. Can anyone please help me activate my root domain

질문됨 3년 전1163회 조회
3개 답변
0

Sub domain activated. Now I try to enable root domain from domain management page, after I click update I see "Update domain association failed".
I suppose something can be wrong with redirection rule (redirection to www subdomain). When I try to remove this rule I can't save it (I see spinner, but no response)

Edited by: MikhailOG on Feb 15, 2021 12:15 PM

답변함 3년 전
0

Now I've activated my domain. The issue was that I have several IAM users and one user had the same app with another name connected to domain.

답변함 3년 전
profile picture
전문가
검토됨 18일 전
0

Glad to see that you were able to set it up! For future reference, we have these 2 guides for common issues with Custom Domains:

[1]: https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html
[2]: https://github.com/aws-amplify/amplify-console/blob/main/FAQ.md

AWS
답변함 3년 전
profile picture
전문가
검토됨 18일 전

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

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

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

관련 콘텐츠