Cloudflare Domains

This article goes over the process of setting up a custom domain with Cloudflare. This requires 5 steps: purchasing a domain name, adding your domain to your school, changing your domain's nameservers, creating CNAME records, and making your domain your primary school domain. Note that these steps must be done sequentially. Also note that depending on the domain registrar you are using, this process may look different.

Adding Your Domain to Your Teachable School

In order to have your personal domain point to your Teachable school, you need to add the domain to your Teachable account.

  1. Log in to your Teachable account.
  2. Select Site from the admin sidebar.
  3. Choose Domains from the submenu.
  4. If you have not yet verified your original Teachable subdomain, you'll see this screen, where you can confirm the standard subdomain or add the custom domain instead. (We recommend that you confirm the standard free subdomain first and then add a custom domain using the process in steps 5-7, as you'll need a Teachable subdomain to connect certain programs like Zapier.)
  5. Otherwise, if you have already verified your original subdomain, click the New Domain button.
  6. Enter the domain of your choice using the format or

    NOTE: You don't need to enter www. or http:// here.

  7. Click the Add Domain button and you will see your newly created domain added to the list of domains. add new domain

Creating a CNAME Record with Cloudflare

After adding your domain name to your Teachable school, you'll have to create a CNAME record within Cloudflare. To make your CNAME record compatible with Teachable, you'll have to delete any "A" records, create a CNAME record, and set up domain forwarding.

Most domain providers do not let you create a CNAME record at the root. Luckily, Cloudflare lets you use their DNS for free and allows you to create a CNAME record. To do so, follow these steps:

  1. Create a free Cloudflare account.
  2. Transfer your domain’s DNS over to CloudFlare.
    • Go to and click the Sign Up link. sign up for cloudflare
    • Enter the domain name that you want to use for your Teachable school without the www.
    • Click the Scan DNS Records button. scan DNS records
    • Click the Continue button.
    • If there are any additional records you'd like to add, you can add them here. After you've reviewed your DNS records, click Continue.
    • Choose the Free plan, leave the other settings the same, and click Continue. free website cloudflare plan
    • Copy the names of the two nameservers listed. copy nameservers from cloudflare
    • Update your domain registrar’s nameservers with the two names you copied from CloudFlare.
  3. Set up your Teachable school domain in CloudFlare.
    • Within CloudFlare, select your domain.
    • Choose the DNS icon from the top menu bar. dns
    • If there's an A record with your domain in it, delete that A record. delete A record

      NOTE: Deleting the A record will produce a warning—don't worry! You want to delete the A record since you're about to add a CNAME at root pointing to your Teachable school.

    • Create a CNAME record pointing to your school URL on Teachable. In the Name field, enter your custom domain. In the Target field, enter your Teachable domain. Toggle the Proxy status to DNS only.

NOTE: This process often takes 24-48 hours to fully process.

(Optional) Adding WWW Domains

When setting up a custom domain, “www.” is not included in the URL. This is due to the “www.” domain and custom domain being two separate entities.

If you would like to have a “www.” domain that redirects to your custom domain, you’ll need to set up a redirect on CloudFlare. To do so, follow these steps:

  1. Go to CloudFlare and log in to your account. 
  2. On the top toolbar, click DNS
  3. Create a CNAME record pointing your WWW domain to your Teachable school. In the Name field, enter "www". In the Domain name field, enter your Teachable domain. Click Add Record. (This step is detailed more thoroughly in step 3 of the Creating a CNAME Record with Cloudflare section.)
  4. On the top toolbar, click Page Rules.
  5. On the Page Rules page, click Create Page Rule.
  6. In the URL field, enter the “www.” domain.  This is your custom domain with "www." in front of it. For example, if your custom domain is “”, you would enter “” here.
  7. Click Add a Setting, and then select Forwarding URL from the drop box.
  8. In the Select Status Code dropbox, select 301 - Permanent Redirect.
  9. In the Enter Destination URL field, enter your site’s custom domain. For example, in the example used above, you would enter “”.
  10. Click Save and Deploy.

Making the New Domain your Primary Domain

  1. Log in to your Teachable account.
  2. Select Site from the admin sidebar.
  3. Choose Domains from the submenu.
  4. Verify that the new domain name works by clicking the Check Domain button. If your domain name works, you will see a Verified message next to your domain.

    CAUTION: Do not set your new domain as primary in Teachable until you know the transfer is complete. If you have set your new domain as primary too early, you will be unable to log in to your school.

    check domain
  5. Click the Make Primary button next to your new domain. make primary
Was this article helpful?
43 out of 61 found this helpful

Can't find what you're looking for?

Contact us