For the complete documentation index, see llms.txt. This page is also available as Markdown.

Setup Custom Domain

You can connect a single custom domain to each of your workspaces. Follow the steps below to connect your domain/subdomain.

Requirements

  • A domain or subdomain

  • A Cloudflare Account

Set your domain in Lancepilot

First you need to go to https://lancepilot.com/dashboard > settings > setup custom domain. From there you need to add your custom domain and click β€œUpdate Custom Domain Settings”

Sign in to your Cloudflare Account

Visit Cloudflare and sign in to your account. If you don’t have a account in Cloudflare you need to sign up view the Sign up in Cloudflare docs.

Sign Up to a new Cloudflare Account

Visit Cloudflare then create a new account in Cloudflare. After you have created a new account you will see a page like the screenshot below, Then you need to add a site for your domain. Click on β€œAdd Site” for adding a site.

Type your domain and click on β€œContinue”

Select the β€œFree” plan and click β€œConfirm Plan”

Click on β€œStart quick scan”

Click on β€œContinue”

On this step you need to change the β€œnameservers” of your domain to the Cloudflare nameservers shown when you are creating the site. To change the nameservers visit your domain provider platform and from there change the nameservers of your domain to the nameservers shown to you in Cloudflare when creating the site. Below is an example.

Changing nameservers might take 24 - 48 hours to propagate.

Click on β€œContinue to β€œYOUR DOMAIN” overview”

Configure custom domain from Cloudflare

Go to the "overview" page of your Cloudflare site that you added. Now once you are on the β€œoverview” page of your site in Cloudflare you can see a option called β€œDNS” on the left sidebar click on that option and then it will open up a new page for you to manage your domain’s DNS records. From there you need to add a β€œCNAME” record with the name β€œ@” and the target should be cname.lancepilot.com. If you are using a subdomain use the subdomain name instead of the "@"

For root domain add the CNAME record with name "@" and for subdomain add the CNAME record with name of the subdomain so if the domain is "whatsapp.domain.com" the name would be "whatsapp"

Set the SSL mode in Cloudflare

On this step you need to go to the β€œSSL” section from the left sidebar and from there select the β€œfull” mode for SSL.

Congratulations! πŸŽ‰ You have completed setting up your custom domain.

Last updated