Steps

  1. Create new free cloudfare account and add  Authoritative NS server of cloudfare on Domain registrar to ensure cloudfare manages DNS of domain

  2. Add proxied A record for notes.nadatharapalocarens.com with non-routable ip (192.0.2.1) (Hosting provider)

image.png

  1. Create a new Worker in cloudfare by adding new in "Manage Workers" by editing the fields in below URL and deploying code generated

https://stephenou.notion.site/Fruition-Free-Open-Source-Toolkit-for-Building-Websites-with-Notion-771ef38657244c27b9389734a9cbff44

deploy-worker-code-notion.PNG

image.png

Add route with details for the created worker (settings)

deploy-worker-route-cloudfare.PNG

  1. Deploy

Result -

notes.nadatharapalocarens.com

redirects to notion page with URL

https://notes.nadatharapalocarens.com/1d8ff8c1c55780a383ccc56179528ff4