My www subdomain isn't working and I don't know why

Hi, firstly, thank you for taking the time to read my question. I’m new to web development, and I’m self-taught, so I’m not familiar with these systems.

This is the first website I’ve ever developed, and I’m having a lot of trouble setting up the domain.

My main domain is working, but my subdomain is not.

I read all documentation in official Cloudflare website and I wasn’t able to fix it.
https://developers.cloudflare.com/pages/platform/custom-domains/

but I found the solution,
https://community.cloudflare.com/t/redirect-www-example-com-to-example-com/78347

and It is working now. ( I made a redirect rule )

but I want to know how to set subdomain with A or CNAME.

Are there any differences between setting up a domain with A or CNAME and just redirecting? If so, what would be better in terms of SEO?

and also I have changed content mangoquiz.com to mangoquiz.pages.dev

I look forward to your response and thank you for reading.

Hi, firstly, thank you for taking the time to read my question. I’m new to web development, and I’m self-taught, so I’m not familiar with these systems.

This is the first website I’ve ever developed, and I’m having a lot of trouble setting up the domain.

My main domain is working, but my subdomain is not.

I read all documentation in official Cloudflare website and I wasn’t able to fix it.
https://developers.cloudflare.com/pages/platform/custom-domains/

but I found the solution,
https://community.cloudflare.com/t/redirect-www-example-com-to-example-com/78347

and It is working now. ( I made a redirect rule )

but I want to know how to set subdomain with A or CNAME.

Are there any differences between setting up a domain with A or CNAME and just redirecting? If so, what would be better in terms of SEO?

and also I have changed content mangoquiz.com to mangoquiz.pages.dev

I look forward to your response and thank you for reading.

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