skip to Main Content

My Webservers are running on AWS.

  • I have created target groups and the load balancer.
  • I have the ALB domain but I want to customize that DNS to the Domain that is present in Cloudflare.
  • I wanna know how I can do that with the SSL certificates.
    As I am not allowed to give CNAME records for the root domain. what are the other solution for this.

how can I route my traffic from the application load balancer to the domain present in Cloudflare?

2

Answers


  1. Chosen as BEST ANSWER

    Here's my solution.

    First we need to go to Route53 in aws console to create new hosted zone. Then after we create the new hosted zone as per our given details, it will create an NS and SOA record in the R53. WE need to add those NS records in our domain registrar. and then we need to create an Alias to our DNS which will Point to the ALB. That's how we are able to create our customized domain name for the Application Load Balancer.

    By Creating a hosted zone in R53 and adding the NS records to the domain registrar, we can delegate the DNS resolution of our custom domain to route53. Then by creating an alias to our ALB, we can map the custome domain to the ALB's DNS. This will allow us to access our ALB with our custom domain instead of using the ALB DNS.

    IF THERE'S ANY OTHER SOLUTIONS THAN PLEASE FETCH YOUR ANSWERS.


  2. CloudFlare has CNAME Flattening, which allows CNAME records on the root domain.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search