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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则