简体   繁体   中英

How to route traffic from the Cloudflare root domain to an AWS elastic load balancer?

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?

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

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM