--- title: "Cloudflare Domains" description: "Configure Cloudflare DNS records for Miget apps." --- To configure Cloudflare for custom domains, you need to set up DNS records and configure SSL/TLS encryption settings. ## Configure SSL/TLS Encryption Miget fully supports end-to-end encryption between your origin (Miget) and Cloudflare. We strongly recommend using **Full** or **Full (Strict)** encryption mode, or leaving the **Automatic SSL/TLS** setting enabled. To configure encryption: 1. Log in to your Cloudflare account and navigate to **SSL/TLS → Overview** for your domain. 2. Under **Configure encryption mode**, select one of the following: * **Automatic SSL/TLS (default):** Cloudflare automatically detects and applies the most secure encryption mode for your domain. * **Full:** Enables end-to-end encryption. Use this when your origin server supports SSL but does not have a publicly trusted certificate. * **Full (Strict):** Enables end-to-end encryption with certificate validation. Use Cloudflare's Origin CA to generate certificates for your origin. Cloudflare SSL/TLS encryption mode settings Avoid using **Flexible** mode, which only encrypts traffic between visitors and Cloudflare while leaving the connection to your origin unencrypted. This is less secure than Full encryption. ## Add DNS Records 1. Go to **DNS → Records** in your Cloudflare dashboard. 2. Add a CNAME record for your domain pointing to your Miget DNS target (e.g., `ingress-.migetns.com`). Cloudflare add CNAME record 3. Enable the orange cloud (Proxy status) to route traffic through Cloudflare for DDoS protection and caching. 4. If using both apex and www domains, add CNAME records for both. DNS changes typically propagate within a few minutes. Once complete, your custom domain will be live with full end-to-end encryption.