AWS Elastic Beanstalk suggests using a URL in the following format: https://{appname}.elasticbeanstalk.com/
But I need to change it to my own URL, something like https://tarta.ai
How to do it?
AWS Elastic Beanstalk suggests using a URL in the following format: https://{appname}.elasticbeanstalk.com/
But I need to change it to my own URL, something like https://tarta.ai
How to do it?
Note: I use Amazon Route53 for my domain.
I know this is old question but since I just done this process for one of my apps, I decided to share it here which may help others too. Here's the steps I've gone through
.example.com
www.example.com
as well.References
Use Amazon Route53. ELBs, including those generated with ElasticBeanstalk, are assigned CNAMEs. You can't just point your top-level domain at a CNAME, as it violates the RFC. You could point a CNAME record like http://www.example.com
at it, but that still won't respond at http://example.com
. It's an irritating problem; for example, consider this 7-page thread on the AWS forum.
The easiest solution is Route53. It uses special apex records to map TLDs to ELBs, thus avoiding the problem entirely. You can also use an EIP'd public instance to forward traffic to the ELB, although this raises scalability concerns.
© 2022 - 2024 — McMap. All rights reserved.