Currently I already created elasticbeanstalk with docker platform and running well.
My problem here : I want to route my subdomain via route 53 redirect to my elastic beanstalk. I already go to route 53 and change my subdomain CNAME pointing to my elastic beanstalk. I check with dig command :
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8115
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;staging.mydomain.com. IN A
;; ANSWER SECTION:
staging.mydomain.com 145 IN CNAME myelasticbeanstalk.ap-southeast-1.elasticbeanstalk.com.
myelasticbeanstalk.ap-southeast-1.elasticbeanstalk.com. 36 IN A 175.xx.xx.xx
myelasticbeanstalk.ap-southeast-1.elasticbeanstalk.com. 36 IN A 52.xx.xx.xx
;; Query time: 38 msec
;; SERVER: xx.xx.xx.xx
;; WHEN: Sat Mar 19 10:36:34
;; MSG SIZE rcvd: 140
but when I access staging.mydomain.com via browser its not work.

the weird here is, I can access directly via browser with URL myelasticbeanstalk.ap-southeast-1.elasticbeanstalk.com
So I need help how to resolve this? I need access myelasticbeanstalk via my subdomain only.
Thanks All