Cloudflare
In this guide, you'll learn how to connect your Cloudflare domain or subdomain to BotPanel.
Last updated
Was this helpful?
In this guide, you'll learn how to connect your Cloudflare domain or subdomain to BotPanel.
Last updated
Was this helpful?
Before we begin, let’s make sure you have everything you need to setup your custom domain.
A Cloudflare Domain
A BotPanel bot with any tier of BotPanel Pro
Step 1: Login into the BotPanel Dashboard and select the bot to which you would like to add the domain.
Step 2: Visit the DNS tab on the side menu and click the Add Domain button.
Step 3: You will be prompted with an option to buy the domain via our partner NameCheap, or if you have already purchased a domain on NameCheap. Select one of the options and continue. If you need to buy a domain, please visit the NameCheap page instead.
Step 4: You will have to provide your domain or a subdomain you would like to add ( the one that you’ve purchased or linked to Cloudflare ) and click the Add Domain button.
Using the domain:
Using a subdomain (example):
Step 5: Upon adding your domain, the domain should appear on the domain list under the DNS tab. You should see something like this:
Using a subdomain:
Now click the Manage button to view the DNS records you will later need to add to Cloudflare in order to verify your domain and link it to the BotPanel. You should see something like this:
Using a subdomain:
You will need the information provided to you similar to the ones on the screenshot later in the NameCheap DNS configuration guide below.
Step 1: Login into your CloudFlare account and select the domain you have setup DNS for on the BotPanel in the previous guide. You can do this by going to the Account Home tab and select the domain.
Step 2: Visit the Overview tab in your domain management page and select the DNS Records in the DNS options on the right.
Step 3: Add the records provided to you on the BotPanel under the DNS tab in your domain settings to the NameCheap ( Step 2 ).
The records provided to you on the BotPanel should look something like this:
Using a subdomain:
Add the CNAME record using the Add Record button and add the Name/Host and the Value/Points provided to you on the BotPanel for the CNAME record.
Using a subdomain:
Now let's add the TXT record using the Add Record button again and add the Name/Host and the Value/Points provided to you on the BotPanel for the TXT record.
Please give the newly created records some time to take effect in some rare cases it could take up to 24 hours.
Step 4: Go back to the BotPanel DNS tab after a while and check if you linked your domain successfully, if you did you should see something like this:
Congrats! You've successfully setup your domain to work with BotPanel.
If you have any questions, please check out our FAQ and Guidelines & Contact for more information.