Error code 522 Add an A, AAAA, or CNAME record for www

1- i just deploy webpage using Cloudflare pages with costume domain (small html file hosting on Cloudflare).
2- before that i was host the webpage on other hosting with subdomain, and it work fast and good.

3- in Cloudflare i set add domain, activate email

4- when try add a record or aaa record to make webpage work with www it need ip4 or ip6 but i can not find this information on Cloudflare.

5- i try add cname record:
assume my costume domain: qazwsx.qa
my deploy domain: qa.pages.dev

                         first try, add "www" in Name (required) filed and "qa.pages.dev" in  Target (required)

                          b- add "www" in Name (required) filed and "qazwsx.qa" in  Target (required)

a and b did not work and give Error code 522

can please help me know how make website work with “www”

hi
for naked domain cname qazwsx.qa target qa.qazwsx.qa
if u want www xeeate cname www target qa.qazwsx.qa
and vukk redirect

to find ip use digwebinterface.com put 2 cf ns
u will get cf ip but no need i think to put at a record
nay be mvp can correct me I am newbie

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