Login Get Started

Free online course hosting using Cloudflare Pages & Embedin

In this post, we’ll show you how to host your online course for free using Cloudflare Pages and Embedin.

Free online course hosting using Cloudflare Pages & Embedin
Diego Oliveira

Diego Oliveira

Aug 24, 2024

Cloudflare Pages is an excellent platform for hosting static websites. Thanks to its global Content Delivery Network (CDN), free SSL/TLS certificates, DDoS protection, custom domains, and collaboration features, it’s one of the best options for publishing fast, secure static websites.

In today’s post, we’ll walk through how to deploy your online course — for free — using Cloudflare Pages + Embedin.

Step-by-step: Hosting an online course on Cloudflare Pages

On the app.embedin.com settings page for the course you want to host, click Download as index.html. After downloading, create a folder on your computer and place the index.html file inside it.

download button on Embedin page

1. Create a Cloudflare Page

If you don’t already have one, create a Cloudflare account.
Once logged in, on the dashboard sidebar, click Workers & Pages.

Creating a Cloudflare Page

2. Upload your files

In the Pages section, click Upload assets, then select the folder that contains your index.html.

Uploading your files to Cloudflare Pages

3. Deploy your Cloudflare Page

Give your project a name and click Create page. Then click Deploy site.
Once the deployment completes, select Continue to project.

Upload your index.html with the folder to Cloudflare Pages

4. Allow your Cloudflare URL inside Embedin

On the Deployment tab, click the link to open your newly published website.

Add your new website link to your course settings domain restriction

You’ll notice the course does not display yet — this is expected.
To enable it:

  1. Go back to app.embedin.com.
  2. Open the settings of your course.
  3. Add the new Cloudflare Pages URL to the Allowed domains list.
  4. Press Enter and click Save at the bottom of the page.

Allow your online course to be displayed on your new website

Now return to your Cloudflare Pages link and reload the page.
Congratulations! 🎉 Your online course is live.

Your online course is published


Optional: Add a custom domain

For an extra level of professionalism, you can connect a custom domain to your Cloudflare Page. There is a small cost for the domain, but the improved branding is worth it.

Thanks for following along — and good luck with your online course!

Latest posts

© Copyright | Empower Solution Api