⌘K
Settings
Tax
Email
Video

How to Connect a Custom Domain in Klasio

Last updated

How to Connect a Custom Domain in Klasio

A custom domain lets your students reach your academy at your own web address, such as learn.yourbrand.com or yourbrand.com, instead of your Klasio address. It makes your school look more professional and keeps your brand front and center. This guide shows you how to connect a subdomain or a root domain, step by step.

Subdomain or root domain?

You can connect either a subdomain or a root domain (also called an apex domain). The setup is a little different for each, so pick one before you start.

SubdomainRoot domain
Examplelearn.yourbrand.comyourbrand.com
Setup steps in Klasio34
DNS providerAny provider worksCloudflare recommended
DNS records to add1 CNAME record1 A record + 1 CNAME record
Cloudflare proxyOff (DNS only)On (Proxied)
Extra setupNoneRedirect rule + SSL/TLS mode
HTTPS certificateIssued by Klasio, renewed automaticallyHandled by Cloudflare
Your site opens onlearn.yourbrand.comwww.yourbrand.com

Before you start

  • Admin access to your Klasio dashboard
  • A domain you own
  • Login access to the DNS provider where your domain is managed (Cloudflare, Namecheap, GoDaddy, etc.)

How to Connect a Subdomain

  1. From the admin dashboard, go to Settings and then click Custom Domain.
  1. In the Domain field, type your subdomain (for example, learn.yourbrand.com) and click Add domain. Leave out https:// and any trailing slash.
  1. Klasio detects it as a Subdomain and shows the record you need under Add these records at your DNS provider. In a new tab, log in to your DNS provider and add this CNAME record:
TypeNamePoints toProxy
CNAMElearn (your subdomain)custom.klasio.comDNS only

Important: If your DNS is on Cloudflare, turn the proxy off for this record so the cloud icon is grey (DNS only). Klasio issues and renews your HTTPS certificate itself, and a proxied record blocks that.

  1. Once the record is saved at your DNS provider, go back to Klasio and click Next.
  2. Wait a few minutes, then click Verify domain. DNS changes usually spread in a few minutes, but can take up to 24 hours. Use Check DNS propagation to see whether your record is live yet.
  3. When the connection succeeds, you will see “Your custom domain is now active.” The status changes from Pending to Active, and every step under Setup complete is ticked. Click your domain name to open your site on its new address.

How to Connect a Root Domain

Root domains serve on www, so they also need a redirect from yourbrand.com to www.yourbrand.com. Klasio recommends Cloudflare for this, and the steps below are written for Cloudflare.

  1. From the admin dashboard, go to Settings and then click Custom Domain.
  2. In the Domain field, type your root domain (for example, yourbrand.com) and click Add domain. Klasio sets the type to Root domain and the serving host to www.yourbrand.com. If the type is wrong, click Not right? next to it.
  3. In your Cloudflare account, add these two records under DNS, and make sure both are Proxied (orange cloud):
TypeNamePoints toProxy
A@192.0.2.1Proxied
CNAMEwwwcustom.klasio.comProxied

Note: The A record does not point to a real server. It only lets Cloudflare catch visitors on yourbrand.com and send them to www.yourbrand.com.

  1. Go back to Klasio and click Next.
  2. In Cloudflare, go to Rules → Redirect Rules and create a single redirect with the values Klasio shows under Turn on the redirect and SSL (replace yourbrand.com with your own domain):
SettingValue
Rule nameRedirect root to www
If incoming requests match…Wildcard pattern
Request URLhttps://yourbrand.com/*
Target URLhttps://www.yourbrand.com/${1}
Status code301 – Permanent Redirect
Preserve query stringEnabled
  1. In Cloudflare, go to SSL/TLS and set the encryption mode to Full.

Remember: Choose Full, not Full (Strict). Full (Strict) will break your site.

  1. Go back to Klasio and click Next.
  2. Click Verify domain. If you see “We could not reach your domain yet. DNS changes can take a while to propagate,” wait a while and try again. Once your records have propagated, Klasio connects your domain automatically and the status changes to Active.

Still stuck? How can we help? Get Help