how to get back a domain after delete an environment

0

Hi, I have a staging environment with a domain name automatically created by AWS mydomain.rxazvzi4mv.ap-southeast-2.elasticbeanstalk.com. The environment above is associated with a registered domain name ** staging.mydomain.com**. I then suddenly deleted the environment above. I re-created a the same environment name. Now I want to use the domain ** staging.mydomain.com** for this re-created envi. I tried to swap an environment domain but could not find out it in the list Could you please help, many thanks

son
已提問 2 個月前檢視次數 167 次
2 個答案
0

Please check your Route53 records for this domain, you might have it pointing to old destination

profile picture
專家
Artem
已回答 2 個月前
0

When you delete an Elastic Beanstalk environment and then recreate it, even with the same name, AWS assigns a new environment URL (like mydomain.rxazvzi4mv.ap-southeast-2.elasticbeanstalk.com). This new URL is unique and different from the one assigned to the previously deleted environment.

To associate your custom domain (staging.mydomain.com) with the new Elastic Beanstalk environment, you'll need to update your DNS settings where your domain is managed (e.g., Route 53, GoDaddy, etc.) to point to the new Elastic Beanstalk environment URL.

profile picture
專家
已回答 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南