Can't get my domain to work after update with EC2 and Route53











up vote
0
down vote

favorite












So using the amazon AWS services,



EC2 with Elastic Beanstalk I've recently tried making a SSH connection. Due to this I had to update my instance to classic auto load balancing. This changed my instance's IP. So my domain didn't direct anymore since the old ip is still in my Route53, so I went in and changed the IP to the new one, but still no results? Is there something more i need to do in order to get my Route53 working again? Don't know what else to change after I've changed my instance to auto load balancing.










share|improve this question


























    up vote
    0
    down vote

    favorite












    So using the amazon AWS services,



    EC2 with Elastic Beanstalk I've recently tried making a SSH connection. Due to this I had to update my instance to classic auto load balancing. This changed my instance's IP. So my domain didn't direct anymore since the old ip is still in my Route53, so I went in and changed the IP to the new one, but still no results? Is there something more i need to do in order to get my Route53 working again? Don't know what else to change after I've changed my instance to auto load balancing.










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      So using the amazon AWS services,



      EC2 with Elastic Beanstalk I've recently tried making a SSH connection. Due to this I had to update my instance to classic auto load balancing. This changed my instance's IP. So my domain didn't direct anymore since the old ip is still in my Route53, so I went in and changed the IP to the new one, but still no results? Is there something more i need to do in order to get my Route53 working again? Don't know what else to change after I've changed my instance to auto load balancing.










      share|improve this question













      So using the amazon AWS services,



      EC2 with Elastic Beanstalk I've recently tried making a SSH connection. Due to this I had to update my instance to classic auto load balancing. This changed my instance's IP. So my domain didn't direct anymore since the old ip is still in my Route53, so I went in and changed the IP to the new one, but still no results? Is there something more i need to do in order to get my Route53 working again? Don't know what else to change after I've changed my instance to auto load balancing.







      amazon-ec2 ssh elastic-beanstalk amazon-route53






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 11 at 16:48









      Qwern

      13




      13
























          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          When using custom domain with Elastic Beanstalk it is not a good practice to map the domain name to your EC2 instance IP address. Instead, use the elastic beanstalk url created for the application environment. With each new version Elastic Beanstalk will provide a fresh instance with a new IP address, but it will keep the url constant.



          It is even better create a A record in the Route53 (A records are implemented in AWS as a proprietary technology that integrates better the solutions) instead of CNAME. More information here (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html)






          share|improve this answer




























            up vote
            0
            down vote













            As per my understanding you've changed your IP to new one but still getting the old results.



            This might be due to Cached DNS which is showing the old results also it depends on TTL (Time to Live) values that specifies how long, in seconds, that you want DNS resolvers to cache the information in the record, such as the IP address for a web server.



            So if you want to see the quick results set the TTL value as low as 2 min or whatever minimum is allowed.






            share|improve this answer























              Your Answer






              StackExchange.ifUsing("editor", function () {
              StackExchange.using("externalEditor", function () {
              StackExchange.using("snippets", function () {
              StackExchange.snippets.init();
              });
              });
              }, "code-snippets");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "1"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51801799%2fcant-get-my-domain-to-work-after-update-with-ec2-and-route53%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              0
              down vote













              When using custom domain with Elastic Beanstalk it is not a good practice to map the domain name to your EC2 instance IP address. Instead, use the elastic beanstalk url created for the application environment. With each new version Elastic Beanstalk will provide a fresh instance with a new IP address, but it will keep the url constant.



              It is even better create a A record in the Route53 (A records are implemented in AWS as a proprietary technology that integrates better the solutions) instead of CNAME. More information here (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html)






              share|improve this answer

























                up vote
                0
                down vote













                When using custom domain with Elastic Beanstalk it is not a good practice to map the domain name to your EC2 instance IP address. Instead, use the elastic beanstalk url created for the application environment. With each new version Elastic Beanstalk will provide a fresh instance with a new IP address, but it will keep the url constant.



                It is even better create a A record in the Route53 (A records are implemented in AWS as a proprietary technology that integrates better the solutions) instead of CNAME. More information here (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html)






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  When using custom domain with Elastic Beanstalk it is not a good practice to map the domain name to your EC2 instance IP address. Instead, use the elastic beanstalk url created for the application environment. With each new version Elastic Beanstalk will provide a fresh instance with a new IP address, but it will keep the url constant.



                  It is even better create a A record in the Route53 (A records are implemented in AWS as a proprietary technology that integrates better the solutions) instead of CNAME. More information here (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html)






                  share|improve this answer












                  When using custom domain with Elastic Beanstalk it is not a good practice to map the domain name to your EC2 instance IP address. Instead, use the elastic beanstalk url created for the application environment. With each new version Elastic Beanstalk will provide a fresh instance with a new IP address, but it will keep the url constant.



                  It is even better create a A record in the Route53 (A records are implemented in AWS as a proprietary technology that integrates better the solutions) instead of CNAME. More information here (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html)







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 16 at 15:09









                  Gustavo Tavares

                  780514




                  780514
























                      up vote
                      0
                      down vote













                      As per my understanding you've changed your IP to new one but still getting the old results.



                      This might be due to Cached DNS which is showing the old results also it depends on TTL (Time to Live) values that specifies how long, in seconds, that you want DNS resolvers to cache the information in the record, such as the IP address for a web server.



                      So if you want to see the quick results set the TTL value as low as 2 min or whatever minimum is allowed.






                      share|improve this answer



























                        up vote
                        0
                        down vote













                        As per my understanding you've changed your IP to new one but still getting the old results.



                        This might be due to Cached DNS which is showing the old results also it depends on TTL (Time to Live) values that specifies how long, in seconds, that you want DNS resolvers to cache the information in the record, such as the IP address for a web server.



                        So if you want to see the quick results set the TTL value as low as 2 min or whatever minimum is allowed.






                        share|improve this answer

























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          As per my understanding you've changed your IP to new one but still getting the old results.



                          This might be due to Cached DNS which is showing the old results also it depends on TTL (Time to Live) values that specifies how long, in seconds, that you want DNS resolvers to cache the information in the record, such as the IP address for a web server.



                          So if you want to see the quick results set the TTL value as low as 2 min or whatever minimum is allowed.






                          share|improve this answer














                          As per my understanding you've changed your IP to new one but still getting the old results.



                          This might be due to Cached DNS which is showing the old results also it depends on TTL (Time to Live) values that specifies how long, in seconds, that you want DNS resolvers to cache the information in the record, such as the IP address for a web server.



                          So if you want to see the quick results set the TTL value as low as 2 min or whatever minimum is allowed.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Nov 15 at 9:02









                          piet.t

                          9,96463245




                          9,96463245










                          answered Aug 11 at 17:55









                          rbashish

                          89211526




                          89211526






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51801799%2fcant-get-my-domain-to-work-after-update-with-ec2-and-route53%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                              ComboBox Display Member on multiple fields

                              Is it possible to collect Nectar points via Trainline?