CNAME subdomain to Cloudflare domain with cname to load balancer

TL;DR:
Can I point a subdomain registered outside of cloudflare to the load balancer inside of cloudflare?

I have a very niche dns setup question.
I have a Loadbalancer on lb.example.com.
I have a domain on cloudflare which uses apex flattening to cname to lb.example.com
(CNAME example2.com lb.example.com.)

This works fine.
I understand that if I want example3.com (APEX, not at cloudflare) to point to the load balancer, the dns nameserver has to support CNAME flattening at the apex.

However, that is not what I want to try to do.
I want abc.example3.com (a subdomain, not at cloudflare) to point to the load balancer.

As I understand, I have three options:

  1. CNAME abc.example3.com lb.example.com
  2. Outside cloudflare CNAME abc.example3.com abc.example.com
    Inside cloudflare CNAME abc.example.com lb.example.com
  3. Partial CNAME Setup (which requires business/enterprise plans)

I have read conflicting statements about number 1.
Number 2 is advised against as it requires two dns lookups. But my question is: Would CNAME to a cloudflare (apex flattened) dns which has a cname to the load balancer work?

I have not found any conclusive answer.

Visiting abc.example.com should work as it is the normal use case for cloudflare.

Hey there, you may want to explore Partial (CNAME) set-up.

However, it’s only available on Business plans and above.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.