Custom Domain
Refer: https://sc-ctsi-cri.atlassian.net/browse/RD-78
URL of the app deployed on elastic beanstalk: http://recruitment-dashboard.us-west-2.elasticbeanstalk.com/
Custom Domain: .sc-ctsi.org
Final URL: http://recruitment-dashboard.sc-ctsi.org
Use Amazon Route 53 to link custom domain
Steps to integrate with Route 53:
Setup Route 53:
Route 53 -> Hosted Zones -> Select some existing hosted zone -> Create Record -> Routing Policy: Simple Routing -> Define Simple Record -> Specify following details -
Record name (subdomain)
Record Type: A
Value/Route Traffic to -> Choose Endpoint -> Alias to Elastic Beanstalk Environment, Choose Region: us-west-2, Choose Environment (Elastic Beanstalk app)
Route 53 - How To: Custom Domain Name In Elastic Beanstalk (2 Min) | AWS | Using Route 53 Routing
use Alias instead of CNAME
Alias is an extension in route 53 that supports AWS resources.
CName is useful when the url that you want to route to is not an AWS resource but an external url