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
asked a month ago157 views
2 Answers
0

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

profile picture
EXPERT
Artem
answered a month ago
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
EXPERT
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions