[Yandex Cloud documentation](../../../index.md) > [Yandex Cloud CDN](../../index.md) > [Step-by-step guides](../index.md) > Resources > Copying configuration from one resource to another

# Copying a configuration from one resource to another

You can use CDN resource settings from a configuration of another CDN resource. To do this, in the **Copy a configuration** field, select an existing CDN resource. Keep in mind the following:
* A domain name is unique within a single resource, i.e., you cannot create another resource with the same domain name. A configuration copy does not inherit the domain name.
* Copying settings between resources of different providers creates a copy of the [origin group](../../concepts/origins.md) in the provider of the new resource.
* If you uploaded a TLS certificate for the original resource, the system will re-use it in the new resource. You do not need to upload it again.

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select the [folder](../../../resource-manager/concepts/resources-hierarchy.md#folder) where you want to create a resource.
  1. Navigate to **Cloud CDN**.
  1. Click **Create resource**.
  1. Under **Copy a configuration**, select an existing CDN resource whose settings you want to copy to a new one.
  1. If required, adjust the settings.

      {% note warning %}

      The **Domain name** parameter must be unique for each resource.

      {% endnote %}

  1. Click **Continue**.
  1. If required, adjust the settings under **Caching**, **HTTP headers and methods**, and **Additional settings**, and then click **Continue**.

{% endlist %}

Once the CDN resource is created, [get](get-resources-info.md#get-cname) the CDN provider's domain name and create a [CNAME resource record](../../../dns/concepts/resource-record.md#cname) for the specified name in your DNS hosting settings, e.g., in [Yandex Cloud DNS](../../../dns/operations/resource-record-create.md). For more information, see [Domain names for content distribution](../../concepts/resource.md#hostnames).

Sample resource record:

```text
cdn.example.com. CNAME e1b83ae3********.topology.gslb.yccdn.ru
```

The new resource will start running properly after the CNAME record that you created on your DNS hosting (see [Host names](../../concepts/resource.md#hostnames)) is propagated across DNS servers. This may take several hours.

{% note info %}

Do not use an [ANAME](../../../dns/concepts/resource-record.md#aname) resource record with domain names for content distribution; otherwise, the end user will get a response from a CDN server not linked to the user geolocation. The response will always be the same for all users.

{% endnote %}