You can publish an online course website on Cloudflare Pages using an HTML file exported from Embedin. Cloudflare Pages hosts the website, while Embedin delivers the embedded course. You do not need to build a course website from scratch or manage a web server.
Watch the video above for the full walkthrough. The guide below summarizes the setup, explains how the two services work together, and covers common publishing questions.
How free course website hosting works
Cloudflare Pages provides static website hosting with HTTPS and a pages.dev address. Your exported index.html loads the Embedin course inside that page, so students can open your course from a shareable website URL.
The services have separate roles:
- Cloudflare Pages hosts the HTML page and serves it through Cloudflare's content delivery network.
- Embedin provides the course content and embedded learning experience.
- Allowed domains in Embedin control which websites can display your course.
Free hosting here refers to the static website on Cloudflare Pages, subject to Cloudflare's plan limits. It does not mean unlimited video storage or course delivery: Embedin usage is subject to your Embedin plan. A custom domain is optional and must be registered separately.
How to publish an online course on Cloudflare Pages
Before starting, have a course ready in Embedin and a Cloudflare account.
1. Download your course HTML file
Open your course settings in Embedin and select Download as index.html. Create a folder on your computer and place the downloaded index.html file inside it. This folder contains the website you will upload to Cloudflare.
2. Upload the folder to Cloudflare Pages
In the Cloudflare dashboard, open Workers & Pages, choose Pages, and select the option to upload assets. Upload the folder containing your index.html, give the project a name, and deploy it.
After deployment, open the project's public pages.dev URL. Keep this address handy for the next step.
3. Allow your Cloudflare Pages domain in Embedin
The website may load before the course appears. Embedin needs permission to display the course on your new domain:
- Return to your course settings in Embedin.
- Add your published Cloudflare Pages URL to Allowed domains.
- Press Enter to confirm the entry, then click Save.
- Reload your Cloudflare Pages website and check that the course displays.
4. Connect a custom domain (optional)
You can keep the free pages.dev address or connect a domain you own through your Cloudflare Pages project's custom domain settings. Follow Cloudflare's DNS instructions, then add the custom domain to your course's Allowed domains in Embedin as well.
Frequently asked questions
Can I host an online course on Cloudflare Pages for free?
You can use Cloudflare Pages' free tier to host the static website that displays your Embedin course, within Cloudflare's limits. Course hosting and delivery remain part of your Embedin plan.
Do I need coding skills to publish the course?
Not for this workflow. Download the course HTML file from Embedin, upload its folder to Cloudflare Pages, and allow the published domain in your course settings.
Why is my course not showing on the published website?
Check that the domain you are visiting is saved in Embedin's Allowed domains for that course. If you switched from a pages.dev address to a custom domain, add the new domain too. If the website itself does not load, check your Cloudflare deployment and confirm that index.html is at the top level of the uploaded folder.
Can I embed my course on an existing website instead?
Yes. Cloudflare Pages is useful when you need a standalone course website. If you already have a site, you can embed an online course on your own website instead.
Ready to publish? Open Embedin to download your course page, then follow the video walkthrough above.








