How to sell courses online from your own website
Sell courses online from your own site: lessons that open after payment, US$59 once or US$12 a month, and progress.

To sell courses online from your own site, you need 3 parts: a sales page that lists every lesson, locked lessons that open only after payment, and a one-time price or a monthly plan. For example, a made-up 6-lesson online course shows lesson 1 free and opens the rest for US$59 one-time or US$12 a month.
What do you need to sell courses online from your own site?
An online course is a set of lessons a student works through in order, signed in to your site, over days or weeks. A download is one file the buyer keeps, and a coaching call sells your time, so each one needs a different kind of site.
| You sell | What the buyer gets |
|---|---|
| Online course | 6 lessons to watch in order, signed in, with a count of lessons done |
| Digital product | One file after payment, theirs to keep |
| Coaching call | A paid call with you at a set time |
If you sell one file, the guide to sell digital products fits better. If you sell your time, start with a coaching website. This guide follows Phone Photo Basics, a made-up course by Maya Chen with 6 short lessons on taking better photos with a phone.
- A sales page. It lists all 6 lesson titles, says who teaches the course and shows two prices. Anyone can open it.
- Locked lessons. Lesson 1 plays for anyone, so people can try your teaching before they pay. A locked lesson shows its title and a lock until the student signs in and pays. Here that is lessons 2 to 6.
- A price. A one-time price of US$59 keeps the course open for good. A monthly plan of US$12 keeps it open while the student pays.
Should your course be a one-time price or a monthly plan?
Use a one-time price if the course is finished, and add a monthly plan if you will keep adding lessons. The one-time price suits a student who wants this course and nothing more. The monthly plan costs less on day one, so it suits a student who is not sure yet. With both buttons on the sales page, each student picks one.
| Month | Monthly plan, paid in total |
|---|---|
| 1 | US$12 |
| 2 | US$24 |
| 3 | US$36 |
| 4 | US$48 |
| 5 | US$60, more than the US$59 one-time price |
From month 5, a monthly student has paid more than the one-time price. If most students finish in 2 or 3 weeks, few will stay that long, and the monthly plan works as a cheaper way in. If you add a lesson each month, students who stay get something new for their US$12.
Maya set the one-time price at about 5 months of the monthly plan. Recurring payments and cancellations work the same way as on a membership website.
How do lessons open after a student pays?
Lessons open when two things are true: the student is signed in, and their payment has gone through. Signing in tells the site who is watching. The payment tells it which lessons that person may open. Here is the path Ana, one student, takes through Phone Photo Basics.
- She watches lesson 1 for free. Find good light plays without an account. Under it, lesson 2 shows a lock and both prices.
- She signs in with her email and pays. She picks US$59 one-time and pays through Stripe checkout.
- Lessons 2 to 6 open. Each one has Maya's video, short notes and a Mark as done button.
- Her progress shows on the course page. After she marks 3 lessons done, the course page reads 3 of 6 done. Maya sees the same count in her student list.

On this site, progress is the number of lessons a student has marked done. The site does not track how many minutes of a video someone watched. The student taps Mark as done at the end of a lesson, and the count goes up by one.
A monthly student can cancel on their account page, which ends their Stripe subscription. When the plan ends, lessons 2 to 6 lock again and lesson 1 stays free. A student who paid the one-time price keeps every lesson. Stripe explains how subscription cancellations work.
Is your own site the best platform to sell online courses?
Your own site is the better choice when your course is videos and notes that students watch in order, and you want every student in your own admin. A course platform is the better choice when you need tools this site does not have. If you searched for Kajabi alternatives or Teachable alternatives, decide by what your course needs.
| Your course needs | Where to build it |
|---|---|
| Video lessons in order, two prices and a done count | Your own site, from the prompt below |
| Quizzes or graded homework | A course platform that offers them |
| A certificate when a student finishes | A course platform that offers one |
| Live classes, or lessons that open week by week | A course platform that offers them |
You can also use both. Keep a listing on a platform for students who find you there. Send people who already follow you to your own site, where each student's email, plan and progress sit in your admin. If your course needs just one thing from the platform rows, such as certificates, weigh that one need before you move.
How do you build your course website with ExaSpark?
Build the site from one prompt and test it with 2 test students before you share the link. One prompt builds a working web app with a database, sign-in and roles, hosting on a custom domain, and Stripe payments.
Get your lessons ready
Export each lesson as a video file with a few lines of notes, and write 2 or 3 lines about yourself. Make lesson 1 one you are happy to give away.
Change three things
In the prompt below, change the course and teacher, the lesson titles and the prices to yours.
Run it and add your videos
Click Try it, sign in to your admin and upload each lesson's video. Send your About the teacher lines as a follow-up request.
Pay as two test students
With a Stripe test account, pay US$59 one-time as one student and US$12 a month as another. Lessons 2 to 6 should open for both.
Test progress and cancelling
Mark 3 lessons done and check the course page says 3 of 6. Cancel as the monthly student, end that test subscription now in Stripe so you need not wait, and check lesson 2 locks again.
Publish and share the link
Publish, open the link on a phone without signing in and play lesson 1.
Here is the request for Phone Photo Basics. Change the course and teacher, the lesson titles and the prices:
Build a course website for Phone Photo Basics, an online course by Maya Chen with 6 lessons: Find good light, Compose with the grid, Lock focus and exposure, Shoot people and pets, Edit on your phone, Share a 9-photo set. The sales page shows the lessons, an About the teacher section and two Stripe checkout buttons: US$59 one-time, or US$12 a month. Lesson 1 is free without an account. Other lessons unlock only after the student signs in by email and pays. Each lesson has a video I upload, notes and a Mark as done button; the course page shows the student's count, like 3 of 6 done. Monthly students can cancel on their account page; when the plan ends, paid lessons lock again. In my private admin I upload videos, edit lessons and see each student's email, plan and lessons done. Publish it so I can share the link.
A Stripe test account lets you try the whole checkout first. Connect your own Stripe account before you take real payments. Publishing takes one click and gives you a free exaspark.app link. Paid plans add your own domain and remove the ExaSpark badge.

Once a week, check the student list for anyone still at 1 of 6 a week after paying, and email them to ask what stopped them.
Frequently asked questions
- Can I release one lesson a week instead?
- Not automatically. On this site, paying opens lessons 2 to 6 at once. To release them weekly, add the next lesson in your admin each week. For a cohort where lessons must open on a fixed schedule, use a course platform.
- What happens when a monthly student cancels?
- They cancel on their account page, which ends their Stripe subscription. When the plan ends, lessons 2 to 6 lock again and lesson 1 stays free. Students who paid the one-time price are not affected.
- Can students download the lesson videos?
- This site does not add download blocking or watermarks, so assume a student who wants to save a video can. The lesson pages are meant to open only for signed-in students who paid. Put your terms of use, such as one person per purchase, on the sales page.
- Do I need my own domain to start?
- No. Publishing takes one click and gives you a free exaspark.app link. Paid plans add your own domain and remove the ExaSpark badge.

