Redirecting apex domain to subdomain

I bought the domain from cloudflare.
I set up a CNAME record to point www to

I want to have my apex domain forward to the www. subdomain. tried page rules but it doesnt work.

  1. ---- Works
  2. — Doesnt work

need to have have to point number 2 to number 1

DNS and Page rules screenshots below

Hi @Daksh,

That won’t work if you are missing a DNS record for the root domain.

Try following this:

1 Like

Hi there!

thank you so much. this worked.
simply had to do the A name record @ pointing to the dummy domain you gave.

people like you allow newbie people to have some sort web dev experience and make our lives easier.

Stay safe and thank you!


No problem, glad it helped you :slight_smile:

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