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.
Then click on 'Verify' again.
Then to check and confirm your DNS records, go to your Cloudflare dashboard and click on your domain name.
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.
Then click on 'Verify' again on your Graphy dashboard.
You will receive a confirmation email once your domain has successfully been linked.
Comments
0 comments
Please sign in to leave a comment.