tib
tib
CDCloudflare Developers
Created by tib on 5/25/2023 in #pages-help
Make custom domain point to another custom domain
Hello 👋 Once again, great job with Cloudflare Pages, great product 👍 I’m trying to make a custom domain point to another custom domain of a pages project but it does not work. Example (with fake values): A project example.pages.dev Set up a custom domain example.com pointing to example.pages.dev Set up a custom domain foo.example.com pointing to foo.example.pages.dev (edit DNS entry) Set up a custom domain bar.example.com pointing to bar.example.pages.dev (edit DNS entry) So far so good, each custom domain points to different pages “branch” If I change in DNS the apex example.com to target foo.example.com I would expect to serve foo.example.pages.dev but it actually continues to serve example.pages.dev It works if I flatten myself the DNS entry and target directly the pages.dev (foo.example.pages.dev). What do you think about it? What prevent to make it work?
2 replies