Create a Cloudflare Pages frontend
Delete all default DNS records
Disable dnssec.
Onboard domain at Cloudflare.
Add Cloudflare nameservers to the domain.
In SSL/TLS overview, choose auto configure.
Setup Pages
Go to Compute & AI > Workers & Pages > Create application > CLICK THE PAGES TAB > Import an existing Git repository
Production branch: prod
Framework preset: None
Build command: npm run build
Build output directory: /site
Root directory: (leave /)
Environment variables: None.
Save and deploy.
Go to Custom domains tab > Setup a custom domain. Add your domain
Wait a few minutes for it to setup. It can take a while for your computer to pick up the change.
Add a www DNS record
Go to Rules > Overview > + Create rule.
Redirect from WWW to root > Preview template
Deploy (no need to change settings)
It will show a warning, choose “create a new proxied DNS record”
Type: CNAME
Name: www (remove the trailing dot it adds)
Target: resetcleaning.com.au
Submit the form.