Route Http to HTTPS in Elastic Beanstalk for external DNS provider

0

Hi, I'd like to use HTTPS with a subdomain to access the deployed application on Beanstalk, As an organization, we have a domain (dektech.com.au) from an external DNS provider, we simply want to use https://metadesk.dektech.com.au instead of the BeanstalkURL **https://metadek-desk-booking-env.eba-ybmik2yt.eu-north-1.elasticbeanstalk.com/ **

I've done the following steps:

  1. Create a certificate and validate the domain for both dektech.com.au and *.dektech.com.au
  2. Add a listener (port 443 , HTTPS , attach SSL certificate ) In the Load Balancer of the Beanstalk environment.
  3. Add a process (port 443 , HTTPS, https code 200) In the Load Balancer of the Beanstalk environment.
  4. Edit HTTP:80 listener in EC2 > Load Balancer and remove the default and set Redirect to HTTPS:443.
  5. Create a hosted zone for dektech.com.au then create a new record Record name:metadesk.dektech.com.au , Route traffic to: Alias to Apllication and Classic Load Balancer After applying all the above settings, I still can't see access my application by https://metadesk.dektech.com.au

My question: -Do I really need to use Route 53 to route the traffic to the application load balancer since the DNS provider isn't AWS? -If so, What additional configuration might be needed to enable HTTPS properly? Thanks in advance.

已提問 1 年前檢視次數 485 次
1 個回答
0

Hi,

Do I really need to use Route 53 to route the traffic to the application load balancer since the DNS provider isn't AWS? A: No, you do not need to user Route 53, you can use your own DNS service to redirect to the right name.

What additional configuration might be needed to enable HTTPS properly? A: You need to include a CNAME entry in your Authoritative DNS configuration from dektech.com.au domain pointing metadesk to metadek-desk-booking-env.eba-ybmik2yt.eu-north-1.elasticbeanstalk.com, if you use Bind it will look like this:

metadesk IN CNAME metadek-desk-booking-env.eba-ybmik2yt.eu-north-1.elasticbeanstalk.com.

Best Regards,
Ricardo Makino

profile pictureAWS
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南