White labelling allows you the flexibility to use various web addresses for your Knowledge Base.
For Example: Your Knowledge Base will be available on https://kb.phone91.com/{{company_short_code}}/{{article_slug}}
but if you want it to be present on your own domain also like thingsofbrand.com then you can follow the given steps:
Open your Cloudflare Account and Select the domain for which you want to use for Knowledge Base. For Example in provided image we will use thingsofbrand.com as our domain
A subdomain is like a separate neighborhood on the internet, adding a specific prefix to your domain for organizing and directing web traffic.
For Example: If you want to deploy your Knowledge Base on URL help.thingsofbrand.com , here help is the subdomain.
Add Your Custom domain including its subdomain
A DNS CNAME (Canonical Name) record is used to associate a subdomain with another domain, providing an alias that redirects to the specified domain or host.
An endpoint is like a specific address on the internet, guiding web requests to a designated location or function on a website or server.
For Example: If you want to deploy your Knowledge Base on thingsofbrand.com/help
Add Your Custom Domain and Endpoint
Cloudflare Workers optimize website performance and security by allowing you to run serverless functions at the DNS level, enabling powerful customization and enhancement of web requests.
Cloudflare Workers/application offer serverless edge computing, letting developers execute code globally for faster responses. Enhance website performance, adapt to HTTP requests dynamically, and optimize user experiences effortlessly.
The worker.js file serves as the script where you write code to be executed by Cloudflare Workers. It defines the behavior and tasks your serverless functions will perform at the edge of the network.
Quick Edit
Worker JS file
Variable Reference:
your_endpoint: refers to path after custom domain where you want to publish Knowledge Base . Example : example.com/{{endpoint}}
Worker routes associate specific URLs with Cloudflare Workers, determining when and how the serverless code should be executed for enhanced web performance and dynamic content delivery.
These Steps may vary for other DNS providers, so please check with your DNS provider for support