Submit a ticket My Tickets
Welcome
Login  Sign up
Open navigation

How to Set up your Custom Domain in CloudFlare

Our Knowledge Base Center articles are being updated for our new platform design. Need assistance? Reach out to support@learnworlds.com


If you are using Cloudflare as your domain hosting provider, then you need to follow the next steps to connect your purchased domain with your LearnWorlds school.

Create a CNAME Record in CloudFlare

1. Log in to your CloudFlare account and click Select Website.

2. Select the domain that you would like to use for your school.

3. Click on DNS on your dashboard.

4. In the DNS Records section, in Type, select CNAME.

5. In Name, enter the subdomain you wish, e.g. www (or courses, or academy, or anything similar). A subdomain precedes your main domain name. For example in www.yourschool.com, www is the subdomain. 

6. In Target, enter your LearnWorlds school URL (e.g. yourschool.learnworlds.com or yourschool.mylearnworlds.com, or yourschool.getlearnwordls.com).

7. In TTL, select Auto.

8. Click the Cloudflare cloud and arrow icon to deactivate that Cloudflare CDN to DNS only.

9. Hit Save.


  • Make sure to replace yourschool.learnworlds.com with your LearnWolrds school URL. 
  • Do not include the https:// before your LearnWorlds URL or the / after.

Check if the CNAME Record is Successfully Added

1. Go to Google Admin Toolbox.

2. Insert your domain (without https:// or / at the end). For example, www.yourschool.com or yourschool.com.

3. If the CNAME record is correct, the Learnworlds URL will appear in Target.

Create a Naked domain in  CloudFlare

1. Log in to your CloudFlare account and click Select Website.

2. Select the domain that you would like to use for your school.

3. Click on DNS on your dashboard.

4. In the DNS Records section, in Type, select A record

5. In Name enter @. You need to create 3 new A records with the following values/IP addresses

  • 104.22.60.249
  • 104.22.61.249
  • 172.67.36.150

Another way around this, when you want to use your naked domain, (example.com) would be to connect it through one CNAME. It will have at name and your Learnworlds domain under Target

You can check more details about the naked domain here.

Check if the A Records are Successfully Added

1. Go to Google Admin Toolbox.

2. Insert your domain (without https:// or / at the end). For example, www.yourschool.com or yourschool.com.

3. If the A records are correct, the respective records will appear in Target.

Request the Domain's Change in your School Settings

1. Navigate to Settings → School Settings → Site URL/Domain.

2. Type the subdomain you created.

3. Click on Change Domain.

4.  A pop-up message will appear confirming that your domain will be ready within the next 5 minutes.


Notes: 

  • It's really important to change the Proxy status of your record to DNS only as mentioned in step 8. Otherwise, the CNAME record will not appear as correct to be finalized.
  • Make sure to select Full SSL and not Full (strict). Check this article for more information.

  • You can have up to two secondary domains available. 
  • You can change the primary domain to a different custom domain, as long as the records remain correct.

  • You cannot delete the default LearnWorlds URL.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.