Operations
How to Connect a Custom Domain to Your Course Website
Connect a custom domain to your course website: the DNS records to add at GoDaddy, Hostinger, BigRock, Namecheap or Cloudflare, plus fixes for common errors.
Updated 10 min readBy the PayPerLMS team
In this article
- 1.Subdomain or root domain: which should you use?
- 2.TXT and CNAME records, in plain words
- 3.Before you start: find out where your DNS lives
- 4.Step-by-step: GoDaddy, Hostinger, BigRock, Namecheap and Cloudflare
- 5.DNS propagation: why changes take time
- 6.SSL: how HTTPS gets switched on
- 7.Troubleshooting: common problems and fixes
- 8.If you use PayPerLMS
- ?Frequently asked questions
To connect a custom domain to your course website, pick an address such as learn.yourinstitute.com and add the DNS records your platform gives you wherever your domain's DNS is managed, usually a TXT record that proves you own the domain and a CNAME record that points the address to the platform. Once the records are visible on the internet, the platform can verify them and, if it offers HTTPS for custom domains, switch it on, so learners see your own name on a secure https:// address.
Key takeaways
- Use a subdomain such as
learn.yourinstitute.comunless the course site should replace your main website; your current site and email stay as they are. - Add the TXT (proof of ownership) and CNAME (directions) records exactly as your platform shows them, typing only the part before your domain in the Name box.
- Edit DNS where your nameservers point, which may be your web host or Cloudflare rather than your registrar.
- On Cloudflare, set the record to DNS only (grey cloud).
- Providers quote from about 30 minutes to 48 hours for changes to show up, so check before editing again.
Subdomain or root domain: which should you use?
Your root domain is the name you bought, such as yourinstitute.com. A subdomain sits in front of it, such as learn.yourinstitute.com. If you already have a website, the subdomain is the safer choice.
| Factor | Subdomain (learn.yourinstitute.com) |
Root domain (yourinstitute.com) |
|---|---|---|
| Typical records | TXT + CNAME | TXT + an A record, or an ALIAS / flattened CNAME |
| Your current website | Stays as it is | Replaced by the course site |
| Your email (MX records) | Untouched | Safe with an A or ALIAS record, at risk with a plain CNAME |
The root is harder because a CNAME can't share its name with any other record (RFC 1912, section 2.4), and a root domain already holds nameserver and, usually, email records. Namecheap warns that a CNAME on the bare domain can disrupt email (Namecheap). Providers work around this differently:
- GoDaddy won't take
@as a CNAME name (GoDaddy), so use an A record if your platform gives you an IP address. - Namecheap offers an ALIAS record for
@(Namecheap). - Hostinger saves a CNAME on
@as an ALIAS pointing to a hostname (Hostinger). - Cloudflare flattens a root CNAME automatically on all plans (Cloudflare).
A simpler route, which Namecheap suggests (Namecheap), is to put the course site on www and redirect the bare domain to it. GoDaddy's Forwarding tool does this with a permanent (301) redirect but moves the domain onto GoDaddy nameservers if it uses others, so use it only when GoDaddy already runs your DNS (GoDaddy). Skip "forward with masking", which GoDaddy says some websites don't support.
Still setting up the institute itself? See how to start an online coaching institute and how to sell online courses in India.
TXT and CNAME records, in plain words
Think of DNS as the internet's address book. A course platform typically asks for two entries in it and should show you the exact name and value for each.
- TXT record: the ownership note. Only someone who controls your DNS can add the exact text the platform asks for, which is why TXT records are commonly used to verify ownership (GoDaddy).
- CNAME record: the directions. It makes
learn.yourinstitute.coman alias of your platform's address, so visitors reach the course site while your name stays in the address bar. It must point to a domain name, not an IP address (GoDaddy); that is the job of an A record (Cloudflare).
Typical records look like this (example values; copy the real ones from your platform):
| Type | Name / Host (what you type) | Value / Target | What it does |
|---|---|---|---|
| TXT | As your platform shows, for example _verify.learn |
As your platform shows, for example verify=a1b2c3 |
Proves you own the domain |
| CNAME | learn |
The platform's address, for example connect.example.net |
Sends visitors to your course site |
Three habits prevent the usual mistakes:
- Type only the part before your domain. Namecheap and Hostinger add your domain to the name automatically (Namecheap, Hostinger), so typing the full address creates
learn.yourinstitute.com.yourinstitute.com. Use@only for the root itself. - Paste values, don't retype them. One wrong character in a TXT value and the check fails.
- Leave TTL at the default unless your platform says otherwise.
Before you start: find out where your DNS lives
Your domain's nameservers decide which DNS panel is live, and that panel isn't always at the company you bought the domain from. Records added anywhere else do nothing: BigRock, for example, says records must go in its free DNS panel when the domain uses BigRock nameservers such as dns1.bigrock.in (BigRock).
To check, open Google's free Dig tool, type your root domain and click NS. If the provider isn't obvious from the nameserver names, search for them; that provider's panel is the one to edit. Before you change anything:
- Back up the current records with a screenshot or an export.
- Moving nameservers, to Cloudflare for example? Make sure every record, especially email (MX), is copied across, and turn off DNSSEC at your registrar before switching (Cloudflare).
- If a web developer registered the domain, ask them to add the records or to share access.
Step-by-step: GoDaddy, Hostinger, BigRock, Namecheap and Cloudflare
Each example uses learn as the subdomain; add the TXT record first, then the CNAME.
GoDaddy
- Sign in to your Domain Portfolio and select the domain to open Domain Settings.
- Select DNS, then Add New Record, choose TXT, enter the Name without your domain, paste the Value and select Save.
- Add another record, choose CNAME, enter
learnas the Name and the platform's address as the Value, then Save.
GoDaddy rejects a CNAME name another record already uses, and Domain Protection may ask for a verification code before saving (GoDaddy).
Hostinger
- In the Hostinger dashboard (hPanel), go to Domains → DNS and select your domain.
- On the DNS records tab, choose TXT in the Manage DNS records card, fill in Name and Value, and click Add Record.
- Repeat with CNAME: Name
learn, Value set to the platform's address, then Add Record (Hostinger).
BigRock
- Log in at
myorders.bigrock.in, open Orders and click your domain name. - Click DNS Records, then Add Record, choose TXT, enter the host name and value, and click Save.
- Add the CNAME the same way, with
learnas the host name and the platform's address as the value (BigRock).
If your panel shows Manage DNS instead, open the CNAME tab, enter the host name, pick the second radio button to type your value and click Add Record (BigRock). For domains on BigRock's Linux hosting nameservers, use cPanel's Zone Editor (BigRock).
Namecheap
- Open Domain List, click Manage next to your domain and go to the Advanced DNS tab.
- Under Host Records, click Add New Record, choose TXT Record, enter the Host and Value, and click Save All Changes.
- Add a CNAME Record with Host
learnand the platform's full address as the Value, then save.
A CNAME blocks every other record on the same host, so remove any old A, CNAME or URL Redirect record for learn first (Namecheap).
Cloudflare (DNS only)
- In the Cloudflare dashboard, select your domain and go to DNS → Records.
- Click Add record, choose TXT, enter the Name and value, and Save.
- Add a CNAME record with
learnas the Name and the platform's address as the Target, set Proxy status to DNS only (grey cloud), then Save (Cloudflare).
A proxied (orange-cloud) record answers with Cloudflare's IP addresses instead of your platform's, and Cloudflare says records that prove domain ownership shouldn't be proxied (Cloudflare). If verification still fails, Cloudflare's fix is DNS only with Flatten off (Cloudflare).
DNS propagation: why changes take time
DNS resolvers, such as your internet provider's or Google's, keep each answer for as long as the record's TTL (time to live) allows, then ask again (Cloudflare). So your laptop may see a new record while a learner's phone still sees the old one. Here is what each provider says:
| Provider | Stated time for changes |
|---|---|
| GoDaddy | Most within an hour, up to 48 hours |
| Hostinger | Up to 24 hours (default TTL: 4 hours) |
| BigRock | Up to 24 hours, usually 6–8 hours |
| Namecheap | About 30 minutes |
| Cloudflare | Set by TTL (Auto TTL: 300 seconds) |
To check instead of guessing:
- Dig: look up
learn.yourinstitute.comas CNAME and the TXT record's full name as TXT. If your values appear, the records are live. - GoDaddy: the world icon in the Propagation column shows a record's global status (GoDaddy).
- Google Public DNS: the Flush Cache tool refreshes a stale answer in Google's resolver (Google), though not in your internet provider's.
SSL: how HTTPS gets switched on
SSL (strictly, TLS) is what gives your address https:// and keeps browsers from warning visitors. Chrome has marked all plain-HTTP sites "Not secure" since Chrome 68 in July 2018 (Chromium Blog), and Google announced in 2014 that HTTPS is a lightweight ranking signal (Google Search Central).
The certificate normally comes last. Certificate authorities such as Let's Encrypt check that you control a domain before issuing, for example by loading a test file from it (Let's Encrypt), which only works once your records point to the platform. If your platform includes SSL for custom domains, there is nothing to buy from your registrar.
One record can block issuance: CAA, which lists the certificate authorities allowed to issue for your domain. With no CAA record, any public authority may issue; if you have one, it must include the authority your platform uses (Let's Encrypt). Click CAA in the Dig tool to see yours.
Once the new address loads over https://, our guide to getting recommended by ChatGPT covers helping AI assistants and search engines find it.
Troubleshooting: common problems and fixes
| Problem | Likely cause | Fix |
|---|---|---|
| Neither record found after several hours | Records added in a DNS panel that isn't live | Check nameservers in Dig (NS); add the records there |
Record saved, but learn.yourinstitute.com isn't found |
Full domain typed in the Name box | Change the Name to just learn |
| The CNAME won't save because the name is taken | An old A, CNAME or redirect record (for example on www) uses that name |
Edit or delete it; a CNAME can't share its name (RFC 1912) |
| Cloudflare verification or SSL fails | Record is proxied (orange cloud) | Set it to DNS only (Cloudflare) |
| Certificate warning in the browser | DNS unfinished, or a CAA record blocks the issuer | Wait for DNS, then check CAA in Dig (Let's Encrypt) |
| Email stopped after DNS changes | Root CNAME, or nameservers moved without the MX records | Remove the root CNAME and restore MX records (Cloudflare) |
If you use PayPerLMS
As of November 2026, custom domains on PayPerLMS, the online course platform Codingclave builds for coaching institutes, schools, creators and companies, are coming soon: connecting one will cost ₹2,999 ($32) one-time per domain, and nothing is charged for custom domains until they are available. Until then every institute's site runs on its free address. There's no monthly plan: you top up a prepaid wallet (Indian top-ups carry 18% GST, with a GST invoice) and pay ₹2 per active learner per month in India ($0.05 elsewhere). Learner fees never exceed ₹1,499 ($49) a month, plus GST in India, one-time add-ons are separate, and course sales carry 0% commission. You can sign up and build for free, and your site goes live with the first top-up; the pricing page has the full breakdown.
Frequently asked questions
Will connecting a subdomain affect my main website or email?
No. A CNAME on learn changes only that one name, and your website and email (MX) records stay as they are unless you edit them.
Do I need to buy an SSL certificate?
Not if your course platform includes SSL for custom domains; it gets the certificate once your DNS points to it. On PayPerLMS, custom domains (₹2,999 or $32 one-time per domain) are coming soon as of November 2026, and nothing is charged for them until they are available.
How long until my custom domain starts working?
GoDaddy says most DNS changes take effect within an hour, while stated upper limits run from 24 hours (Hostinger) to 48 hours (GoDaddy). Check with Google's Dig tool before changing anything.
Does this work with .in and .co.in domains?
DNS works the same way for .in, .co.in, .com and other extensions. For learn.yourinstitute.co.in, the Host is still just learn.
The short version
PayPerLMS has no monthly plan: you pay per active learner, with a monthly cap on learner fees and 0% commission.