-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom domain add error - One or more of the CNAMEs you provided are already associated with a different resource #13266
Comments
Hi, can somebody get back to me with information on how can I get my current Amplify project distribution id? I visited CloudFront console page, but it has no distributions for my account with Amplify hosted project - https://us-east-1.console.aws.amazon.com/cloudfront/v4/home?region=us-east-1#/welcome |
Hi @cwomack : the recommendations from this post are not applicable as I am using Amplify app, for which I don't know how to get my app's |
@cwomack hi. is there any progress for this issue resolution? If you think it is specific only for my case I am ready for a call to illustrate the problem. |
Hi there, just reminding about the issue. Can we schedule a screen-share session to try to settle it? |
@nilyin, apologies for the delayed reply on this. This seems to be an Amplify Hosting related issue, and the // Amplify Hosting Repo Note:
I think the best way to proceed here is to hop into our Discord server and create a new thread/post in the |
@cwomack hi, thank you for reply. My issue can actually be considered as feature request as well. Namely to add possibility to Amplify CLI (or Amplify Web Console or JSON files of backend configs) command to output I'll also try posting for help on Discord. |
@nilyin 👋 , to give you some context this error can occur if the domain you are trying to connect is already attached to another AWS resource. This resource could typically be a CloudFront distribution, API Gateway endpoint, or Amazon Lightsail app.
In this scenario, since the domain is associated to a resource in an AWS account that was discounted in the past the next steps will be to reach out to AWS Support as they can assist with releasing the domain from the older account. Once that is done, you should be able to reconnect it to your app. |
Before opening, please confirm:
JavaScript Framework
Vue
Amplify APIs
GraphQL API
Amplify Version
v5
Amplify Categories
auth, storage, function, api, hosting
Backend
Amplify CLI
Environment information
Describe the bug
adding cutom domain resulted to the following message:
I've checked where my subdomains are pointing to (with dig command and online tools). They point correctly to url provided in amplify web console for domain management.
i suspect that subdomain can be connected to one of my previousd amplify account that has been discontinued a few years ago. if so, it looks like a bug.
i was also trying to use
aws cloudfront list-conflicting-aliases --distribution-id ??? --alias name.mydomain.me
but always got:The specified distribution does not exist.
I tried use hosting url and stackId but they do not work fordistribution-id
param.Pls help to solve the problem and advise on how can i get
distribution-id
for my amplify dev and prod environments deployed in amplify cloud.Expected behavior
custom domain is validated and added
Reproduction steps
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: