Skip to content

Cloudflare DNS Setup

NOTE: when using Cloudflare for DNS, MageMojo cannot assign or install a Let's Encrypt certificate; LE certficates can only be installed when using the MageMojo Route 53 nameservers. Furthermore, certificates issued and signed by Cloudflare cannot be installed on Stratus. Certificates must be issued by a publicly trusted Certificate Authority (CA), such as ACM or those listed by the Mozilla Foundation. For more information, see "Continually Enhancing Domain Security on Amazon CloudFront".

The initial setup wizard for Cloudflare will prompt to point A records instead of a CNAME. This is not an ideal setup because IPs can change and will be different depending on geographical location. Cloudflare can be allowed to pull records automatically since it will also pull the needed records for Amazon SES. Cloudflare will automatically apply CNAME flattening.

Remove the A records and change the DNS to point to the cloudfront URL for your domain. You can find this under the DNS control panel in stratus.


Sample Cloudflare DNS Setup


Changing nameservers should not cause any downtime if the domain is currently pointed to stratus. However, as a precaution, proceed during off-peak hours. If the domain is not currently pointed to stratus, DNS changes can take up to 24hrs to propagate.

Cloudflare Settings

Under SSL > Overview, make sure the setting is set to FULL.


Under SSL > Edge Certificates, make sure Always Use HTTPS is set to On.


Cloudflare Proxy

Once the store is behind Cloudflare, the proxy portion can be turned off any time under the DNS tab in the Cloudflare account by turning the orange cloud to a grey cloud (by clicking it).

Proxied example:


Not Proxied example: