In this article:
- Step 1: Gather all needed Accounts and Materials
- Step 2: Update Nameserver Setup
- Step 3: Setup your DNS Records in Cloudflare for your Domain (Pointing to Wordpress)
- Step 4: Setup your DNS Records in Cloudflare for your Subdomain (Pointing to Kajabi)
- Step 5. Enable Full SSL
- Step 6. Add your Custom Subdomain to Kajabi
- Step 7. Add Page Rules
Step 1: Gather all needed Accounts and Materials
To accomplish this specific task, you will need a Custom Domain purchased through a registrar such as GoDaddy, a free Cloudflare account, a place to point your domain such as Wordpress, and Kajabi (to point your subdomain to).
Step 2: Update Nameserver Setup
The first thing you will need to do is give control to the DNS Settings to Cloudflare by changing the Nameservers in your Registrar:
- Log into your CloudFlare account.
- Click the DNS tab and scroll down to the CloudFlare Nameservers section.
- Copy the CloudFlare Nameservers to replace the Nameservers in your Domain Registrar.
These Nameservers are specific to your Cloudflare account. No changes made in Cloudflare will be effective until you have completed this task. This process is simple, but is slightly different across each Registrar:
- Log into your Domain Registrar and navigate to the DNS Records.
- Under the Nameservers header, click Change and select Custom in the dropdown menu.
- Then, paste the Cloudflare Nameservers into the fields below.
- Then, click Save:
Step 3: Setup your DNS Records in Cloudflare for your Domain (Pointing to Wordpress)
- You'll need to set up an A Record that points to where your main domain is being Hosted. In this case, our domain is pointing at a Wordpress site.
Step 4: Setup your DNS Records in CloudFlare for your Subdomain (Pointing to Kajabi)
Now that your domain is set up with CloudFlare, you'll need to set up a CNAME record that will point your Subdomain to Kajabi. This can be done with (e.g. "courses", "members"). For this example, we'll be using the hostname "academy".
- Click the DNS tab at the top.
- Add your CNAME record as follows:
Type: CNAME Name: www Domain: endpoint.mykajabi.com
Notes for this step:
- For "Domain name" be sure to enter "endpoint.mykajabi.com" exactly, and NOT your own "mykajabi.com" subdomain.
- If you have an existing record with the same hostname that you're trying to add ("www" in this case) you will receive an error stating "An A, AAAA or CNAME record already exists with that host. (Code: 81053)." You will need to locate the existing record and remove it by clicking on the X at the end of the record.
Step 5. Enable Full SSL
With your record all set up, the last thing you'll need to do is enable Full SSL for your domain.
- Click on the Crypto settings from the top menu.
- In the first section labeled SSL you'll want to select Full from the drop-down menu. This will result in a certificate being issued which can take a bit before it's active.
- You'll know it's okay to proceed when it says Active Certificate below the setting:
Step 6. Add your Custom Subdomain to Kajabi
- From your Dashboard, select the Settings tab.
- Then, select Custom Domains and click Step 4 to add the Subdomain you want to point to your Kajabi Site.
- Then, click Save:
You will be notified that verification is pending and then notified when the process is successful or unsuccessful:
Step 7. Add Page Rules
Page Rules let you control which Cloudflare settings trigger on a given URL. Only one Page Rule will trigger per URL, so it is helpful if you sort Page Rules in priority order, and make your URL patterns as specific as possible.
- Log into your CloudFlare account and click Page Rules in the menu at the top.
- Next, click the Create Page Rule button and enter all required fields as such:
First field: http://yoursubdomain.yourdomain.com/
Add a Setting: Always Use HTTPS
- Click Save and Deploy.