Skip to content

How to enable HTTPS for domain name (http working)

0

Hello, I have a load balancer pointing to a cluster in aws, it currently works for http URL's such as:

I have a load balancer setup: Enter image description here

And a security group for my ECS instances: Enter image description here

Knowing that my HTTP urls work, how do I change my DNS for the HTTPs to work also?

1 Answer
2

This is not an issue with DNS. DNS is not aware of which protocol you are using to interact with your website, it only takes care to resolve the domain name to an IP address.

It sounds like the security group associated with your ALB is missing inbound rule for TCP port 443. Can you share a screenshot of it?

(If the same security group that is associated with the ECS instances is the one associated with the ALB we can see that the rule is missing)

In addition, I would suggest using separate security groups for the ECS instances and the ALB. In the ECS instances security group you can allow inbound traffic only when the source is the security group associated with the ALB.

AWS
EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.