Cloudflare CDN for HollaEx
Cloudflare provides a powerful CDN along with DNS services for your domain. While enabling the CDN, you can also get an SSL certificate from Cloudflare for free. Applying CDN with Cloudflare can significantly boost the loading speed on your website as it uses optimized caching methods that help content and images to load faster.
For DIY users, please issue an SSL certificate on your server end before you go through to enable the CDN. You can issue the SSL certificate by running hollaex prod command.
Please keep in mind that if you are using the Cloud, turn on the CDN proxy (the orange cloud) only after you have set your domain on the dashboard.
To start, simply go to cloudflare.com, make an account, and click the "Add Site" button on the console.
Type your domain, and click "Add Site".
Here you can select a plan. Simply proceed with the free plan for now. The free plan provides a decent setup to start with and you can always upgrade it later.
Cloudflare then displays the existing DNS configurations for your domain. You could also enable CDN and apply the Cloudflare SSL certificate in this section. We recommend you enable the Cloudflare CDN only for the website and not for your API. Enabling the Cloudflare CDN (Proxy) with SSL, especially for your API server could cause issues.
Again, please keep in mind that if you are using the Cloud, turn on the proxy (the orange cloud) only after you have set your domain on the dashboard.
For better security and compatibility, Do not forget to set the SSL/TLS encryption mode as 'Full' as you can see in the image below. In case you have an existing SSL on your server-side, the server connection will fail if you do not set this to 'Full'. For the Cloud exchanges, you should always set it to 'Full'. DIY exchanges with hollaex prod enabled should always set the option to 'Full' as well.
Since most likely you've got your domain from a different domain provider, Cloudflare tells you to move your domain's nameservers to the one provided by Cloudflare. Follow the instructions to migrate the nameservers, and click the "Done" button below
The transfer would normally take a few minutes and in the worst case, it could take a few hours so be patient. You will get an email notification once the transfer is completed by clicking the button circled.
Once the nameservers are fully migrated and the SSL gets applied, you will be able to reach your HollaEx Kit exchange website with SSL and CDN enabled. You can confirm the status by checking the SSL certificate details on your website.
Copy link