How to link your custom domain with a Cloudflare account?

Created by Ayush Sharma, Modified on Mon, 7 Apr at 4:06 PM by Ayush Sharma

This is a step-by-step guide on linking your custom domain with a Cloudfare account.

In order to create a custom domain, you need to link your domain to the Cloudflare account. But before we get into the steps, make a note of —

Three types of custom domains you could have:

  • www.yourdomain.com
    Here you can have the root domain (www.yourdomain.com) pointed to your course platform. Domain Forwarding rule would apply here. It means all the searches without 'www', would also be redirected to the root domain.
    Example: If someone searches for yourdomain.com, it would also be redirected to www.yourdomain.com 

  • learn.yourdomain.com
    You can have the root domain pointed towards your other website. For your course platform, you can create a subdomain.
    Example: learn.yourdomain.com. Here 'yourdomain' would be your root domain while 'learn' would be your subdomain.

  • yourdomain.com
    Here you can have the root domain without 'www' i.e. (yourdomain.com) pointed to your course platform. Domain Forwarding rule would apply here. It means all the searches with 'www', would also be redirected to the root domain.
    Example: If someone searches for www.yourdomain.com, it would be also redirected yourdomain.com 

    Domain forwarding allows your website to be discovered by the browser for ALL your website searches whether or not containing 'WWW' in the beginning.

Go to Dashboard > Settings Domain management 


Add your custom domain link.



Then create your own Cloudflare account on https://www.cloudflare.com/en-in/
and go to 'My profile'. 



Get your email address and ensure that it is verified. 





Then go to 'API Tokens' and access your 'Global API Key' 




Copy-paste your API Key. 



Paste your Cloudflare registered email and your Cloudflare global API key and click on 'Verify'. 



Then click on 'Verify' again. 



You can use this as a reference.




Then to check and confirm your DNS records, go to your Cloudflare dashboard and click on your domain name. 


Screenshot 2022-04-20 at 5.24.32 PM


Then click on DNS. In this case, the nameservers are updated automatically. 


Please note if you have created subdomain records they can't be automatically imported. You have to log in on Cloudflare and create the subdomain records manually. If you're using a newly registered domain, you don't need to worry about anything. 


Screenshot 2022-04-20 at 7.05.40 PM-2


Then click on 'Verify' again on your Graphy dashboard. 



You will receive a confirmation email once your domain has successfully been linked.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article