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
demandé il y a 2 mois167 vues
2 réponses
0

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

profile picture
EXPERT
Artem
répondu il y a 2 mois
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
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions