Link your domain to Cloudflare Pages with DNS CNAME.
Register and create an account with Cloudflare. Choose Pages from sidebar and select your project.
When a project is created Cloudflare creates a subdomain using your project name for example youdocms.pages.dev. To link your domain if it is not hosted on CloudFlare edit the project and choose custom domain.
In order to redirect requests to your main domain to the CloudFlare sub domain you will need to create a CNAME record in your providers DNS. Enter the domain name you require including the prefix. In our case we are using www5.youdocms.com as we are hosting the same site in multiple clouds for testing.
Choose the option to create a CNAME record for your existing DNS provider. Note CloudFlare offers very competitive domain name hosting which is non-profit ie CloudFlare only charges the registrar fees. This is great value for money.
Lastly copy the CNAME settings and create a new record with your DNS provider. Wait for the DNS changes to propagate and Use the check DNS button to verify the settings to make sure they are correct.
You will be notified by email when the DNS is updated and teh cusotm domain is active. To deploy your site see Cloudflare Depoyment.