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

feita há 3 anos1163 visualizações
3 Respostas
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

respondido há 3 anos
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.

respondido há 3 anos
profile picture
ESPECIALISTA
avaliado há 18 dias
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
respondido há 3 anos
profile picture
ESPECIALISTA
avaliado há 18 dias

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas