- Newest
- Most votes
- Most comments
How's it going Melth?
I see you posted this a few hours ago, have you gotten any closer to resolving?
The way I would approach this problem is by first generating an SSL cert using AWS ACM (Certificate Manager) to create and validate said SSL certificate for your domain.
Next I would create an ELB making sure it is 'internet-facing' and then select the appropriate VPC and subnets where your ec2 is deployed. Next, add a HTTPS listener and choose the SSL certificate you created in ACM. Then create a security group for your port and a target group for your instance. Make your target group register with you ec2 instance.
Then finally, configure your DNS settings in Hostinger by modifying the A record. Make it point to the public IP address of your ELB. If you don't like static IPs, use a CNAME record. Wait for the DNS propagation and then try and access. It should route traffic through the ELB to your instance.
Good luck
answered 2 years ago
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 3 years ago
