Is there any difference between load balancer url and the elastic beanstalk url?
Solution 1:
Your Elastic Beanstalk URL points to the Elastic Load Balancer URL. This is intentional.
It is better to create a DNS CNAME pointing to your Elastic Beanstalk URL rather than the ELB URL. The reason being that in Elastic Beanstalk, you can start multiple environments within the same application, then swap the URLs around.
This way, if you want to move people to a new environment, you just swap the EB URL and you won't need to make any DNS changes yourself.
For example, you could have a "stable" URL pointing to your production environment and a "staging" URL pointing to a staging environment. Then, when you want to move your staging environment to production, you would just swap the URLs. After that, your "stable" URL is then pointing to your old staging (the new production) environment. You can either terminate the old production environment or use it as the new staging environment.