# Cloudflare as SSL proxy

{% hint style="info" %}
**Cloudflare rocks**

Cloudflare acts as your DNS nameserver, reverse web proxy, web application firewall, SSL provider, incoming MX record mail processor, and much more.
{% endhint %}

Cloudflare is free and has a popular "plug and play" method for adding SSL to your installation.

To enable Cloudflare, you'll need to add their DNS nameservers to the domain you're using to access your platform installation.&#x20;

Cloudflare also has their own registrar, and if you register a new domain with them, SSL comes working out of the gate automatically.&#x20;

You can add any domain to Cloudflare for free by [signing up here](https://www.cloudflare.com/plans/).

{% hint style="info" %}
**Optional: Creating a new domain with Cloudflare's registrar**

If possible, we recommend registering a new domain with the Cloudflare registrar to use for managing your emaildelivery.com platform as it will automatically come correctly configured for HTTPS when created.
{% endhint %}

To enable HTTPS for your domain hosted on Cloudflare:

Click the domain name -> SSL -> Overview -> Flexible:

<figure><img src="/files/Tltv2aLvRvF9UvJZ2jhu" alt=""><figcaption></figcaption></figure>

<div align="left"><figure><img src="/files/FbDwamfMwako3d32RwnB" alt="" width="253"><figcaption></figcaption></figure></div>

<figure><img src="/files/Y1VFaESb3uHhsZw9trmA" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**SSL will not be available for your domain or subdomain until proxy mode is enabled.**
{% endhint %}

Go to DNS -> Records -> edit or create an A record -> Turn proxy status orange:

<div align="left"><figure><img src="/files/0msrFkBYCjWZ6wFUFliE" alt="" width="265"><figcaption></figcaption></figure></div>

<figure><img src="/files/uJWERJBkAdrt7l7d2yuK" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**You need to run a command in edcom-install to complete the Cloudflare SSL conversion**&#x20;
{% endhint %}

<figure><img src="/files/kZBhW08ChYJ60qOH7Sqq" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.emaildelivery.com/docs/options-for-adding-https/cloudflare-as-ssl-proxy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
