How do I forward domain to my pages.dev when DNS hosting not in cloudflare?

My DNS is in pchome, and I want to forward my domain to Cloudflare pages.dev.
A record needs IP address but pages doesn’t provide one.
CNAME needs MX setting but require DNS hosting.

any suggestions, please.

You can use a CNAME. I’m not sure why you think an MX record is relevant, but it’s not.

You must use a hostname like www.example.com if your DNS is not on Cloudflare. You can’t use just example.com.

In your Pages project, add the name as a Custom Domain. Then, create a CNAME at your DNS provider pointing to your pages.dev name.

Thank you for resolve my confusion so accurately!
The problem was I thought I have to forward example.com to my Pages project, but actually I just need to point www to my Pages project on DNS.

Thank you very much!

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