# Cloudflare Domain Setup

For security purposes it's a requirement for all Codefort Shops to be using Cloudflare as their DNS service. Cloudflare is free to use and they are very good at mitigating DDOS attacks as well as speeding up delivery of static resources.

First create a free Cloudflare account and add your domain. Follow their on screen instructions to move your DNS from your existing provider. Please note that every Cloudflare account will have different nameservers and we can therefore not provide them here.

Once your nameservers has been updated you can now manage your DNS in the Cloudflare dashboard.

Add CNAME records to the root domain and the sub domains you want to use, pointing to the following URL:

entrypoint.codefort.io

If you go to the domain and see a "Shop Not Found" message, you should contact your Codefort Account Manager to add the domain to your shop.

The last step is to setup your Cryptography settings in Cloudflare. As seen in the following pictures, "SSL" should be set to "Flexible" and "Always Use HTTPS" should be set to "On"

That's it! Your domain is now setup for success.