> For the complete documentation index, see [llms.txt](https://clients.medianova.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clients.medianova.com/products/performance-cdn/static-content-delivery/advanced-configuration/cname-and-ssl.md).

# CNAME & SSL

The **CNAME & SSL** tab allows you to associate one or more custom domains with a CDN Resource and configure the SSL certificate and supported TLS versions used to secure client connections.

Before configuring SSL, ensure that your custom domain points to the hostname assigned to your CDN Resource and that an appropriate SSL certificate is available in your organization.

{% hint style="info" %}
If you need to create a new SSL certificate, use the [**SSL / TLS**](/products/security/ssl-tls-encryption.md) page before configuring this resource. For certificate creation and management, see [**Upload and Manage SSL Certificates**](/products/security/ssl-tls-encryption/upload-and-manage-ssl-certificates.md).
{% endhint %}

## Add a CNAME

{% stepper %}
{% step %}

### Open the CDN Resource

In the [**Medianova Control Panel**](https://cloud.medianova.com), navigate to **CDN → CDN Resources**, then open the resource you want to configure.
{% endstep %}

{% step %}

### Open the CNAME & SSL Tab

Select the **CNAME & SSL** tab.

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

The CNAME configuration section appears at the top of the page.
{% endstep %}

{% step %}

### Add a Custom Domain

Enter your custom hostname, for example:

```
cdn.example.com
```

Click **Submit** to save the CNAME.
{% endstep %}

{% step %}

### Configure Your DNS

Create a CNAME record with your DNS provider that points your custom domain to the hostname assigned by Medianova.

Example:

```
cdn.example.com    CNAME    yourzonename.mncdn.com
```

After DNS propagation completes, requests sent to your custom domain are routed to the associated CDN Resource.
{% endstep %}
{% endstepper %}

## Configure the SSL Certificate

{% stepper %}
{% step %}

### Select an SSL Certificate

Choose the SSL certificate to associate with this CDN Resource.

Available options depend on your resource type and organization configuration.

Typical options include:

* **Shared SSL** — Uses a shared certificate managed by Medianova.
* **SNI** — Uses an SSL certificate available in your organization.
* **Custom SNI** — Select a specific SSL certificate from your certificate list.
* **Disabled** — Disables HTTPS for this resource.

{% hint style="info" %}
To create a new certificate, use the [**SSL / TLS**](/products/security/ssl-tls-encryption.md) page. Newly created certificates become available for selection after they have been successfully issued.
{% endhint %}
{% endstep %}

{% step %}

### Save the Configuration

Click **Submit** to apply the selected SSL certificate.

The certificate will be used for HTTPS connections to every CNAME configured for this resource.
{% endstep %}
{% endstepper %}

## Configure Supported TLS Versions

{% stepper %}
{% step %}

### Select TLS Versions

Enable the TLS versions that clients are allowed to use when connecting to this resource.

For most deployments, enable:

* TLS 1.2
* TLS 1.3

After making your selection, click **Submit**.
{% endstep %}
{% endstepper %}

## Verify the Configuration

After configuring the CNAME and SSL certificate, verify that DNS resolution and HTTPS are working correctly.

### Verify DNS Resolution

Run:

```bash
nslookup cdn.example.com
```

The hostname should resolve to the Medianova CDN hostname.

### Verify HTTPS

Run:

```bash
curl -Iv https://cdn.example.com
```

Verify that:

* the HTTPS connection succeeds;
* the expected SSL certificate is presented;
* the negotiated TLS version matches your configuration.

## Troubleshooting

### DNS changes are not visible

DNS propagation depends on your DNS provider and configured TTL values. It may take several minutes before changes become visible globally.

### HTTPS certificate does not match the domain

Verify that the selected SSL certificate covers every configured CNAME through its Common Name (CN) or Subject Alternative Names (SANs).

### Free SSL certificate is still unavailable

If you recently requested a Free SSL certificate, it may still be waiting for DNS validation.

Complete the validation process from the **SSL / TLS** page before selecting the certificate for this resource.

For more information, see **Use Free SSL Certificates**.

### Example

Once configuration is complete, update your application to use the CDN hostname.

```html
<!-- Origin -->
<img src="https://example.com/images/logo.jpg" alt="">

<!-- CDN -->
<img src="https://cdn.example.com/images/logo.jpg" alt="">
```

After DNS propagation, requests to the custom domain are served through the associated CDN Resource.

## Related Concepts

* [Upload and Manage SSL Certificates](/products/security/ssl-tls-encryption/upload-and-manage-ssl-certificates.md)
* [Use Free SSL Certificates](/products/security/ssl-tls-encryption/use-free-ssl-certificates.md)
* [SSL / TLS Encryption](/products/security/ssl-tls-encryption.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://clients.medianova.com/products/performance-cdn/static-content-delivery/advanced-configuration/cname-and-ssl.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
