# CNAMEs

The **Settings > CNAMEs** service menu section provides you with the capability to associate the custom domain name(s) of your project with your service’s ADN and CDN addresses at the Edgeport platform. This empowers you to establish a branded and unified online presence for your service while enhancing accessibility and user experience.

Upon navigating to this section, you'll find the default CNAME records for both ADN and CDN platforms already present in their respective panes. These records were automatically generated upon the [addition of your service](https://docs.edgeport.com/product-docs/start-guide/add-a-new-service) to the platform.

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2Fx5xfXnD5Fn8uy72aLgkk%2Fimage9.png?alt=media" alt=""><figcaption></figcaption></figure>

Below, we'll explore both of the presented panes and the options they provide:

* [ADN CNAMEs](#h.h6r3b1hnswxi)
* [CDN CNAMEs](#h.tiei9999v2lo)

### ADN CNAMEs <a href="#h.h6r3b1hnswxi" id="h.h6r3b1hnswxi"></a>

The Application Delivery Network (ADN) within the Edgeport platform serves as the central component responsible for delivering the main application domain. It encompasses a wide array of functions, including content delivery, load balancing, security, and web application optimization.&#x20;

Also, it plays a pivotal role in accelerating the processing of dynamic requests (such as login credentials, account-specific information, user preferences, etc) and provides the ability to cache them on the edge. Herewith, the entire website can be efficiently delivered through the ADN platform, eliminating the need for CDN involvement if you prefer such an approach.

As a best practice, ADN is responsible for delivering custom domain names associated with a whole site, such as:

* *example.com*
* *[www.example.com](http://www.example.com)*
* *docs.example.com*
* *blog.example.com*

Your project is already equipped with a default CNAME configuration that directs your application domain name, provided during its addition to the Edgeport platform, to the dedicated ADN-related internal address within the platform's network.  \
\
This domain name is labeled as *Primary* as the very first added one.

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FhHYtSbDAq0hnSPnyiWsR%2Fimage5.png?alt=media" alt=""><figcaption></figcaption></figure>

To add a new custom domain name record, click the **Add New CNAME** above the pane:

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FHKMr5Z2BiINodeMB0XrQ%2Fimage3.png?alt=media" alt=""><figcaption></figcaption></figure>

In the popped-up window, input the desired custom domain name and choose **Add**:

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FiuJOft3G1Or7Wfr1Qwe3%2Fimage8.png?alt=media" alt="" width="448"><figcaption></figcaption></figure>

The specified CNAMe will instantly appear on the list.

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FKPcgydylEGZVzrRtfRAe%2Fimage10.png?alt=media" alt=""><figcaption></figcaption></figure>

For the newly added line, you will see a set of options available:

* **Set Redirect to Primary Domain** - allows you to route traffic from this new domain to the one labeled as Primary. More information on this option can be found in the [Set Domain Redirect](https://docs.edgeport.com/product-docs/how-to/set-up-domain-redirect) guide;
* **Set Primary** - helps to switch the main domain name associated with your service to the chosen one;
* the **pencil**![](https://lh7-us.googleusercontent.com/_Ix8wQzgVtRrOIbpfEAM4OgUW9CGiXG0aYQzsad5B-PWqBKoDoGf8ZLV-KMaK3SjnKRM2njln_efBl4NQIDwfKvqMGpHfqQfMrjUQvrUtPdItKlFPhg4-7ICtshKdQo5c1RiZeuzwtWOFToqGsvQXBg) **icon** - allows you to edit the previously added CNAME address;
* the **bin**![](https://lh7-us.googleusercontent.com/4t16mDErWLWOjAy5pJf5BLJwrf-oUGtjW-vky4T9Ow1TTG9_0V19p-ffo2qDZ6FdCJ-BaDnJZWLNzEGbOEgiGprVPZINt1rnttQarp-YdIJUuGDUuAsjQ-Pznpmr9DA4XEslEnanThFgfqeUziwWwjY)**icon** - is intended for removing a specific CNAME record from the list.

{% hint style="info" %}
Please **Note**:

* Any changes made within this list may take **up to 60 minutes** to be fully propagated across all PoPs in the edge network.
* For the traffic to be directed to your application via a newly added CNAME, you need to add the corresponding CNAME-type record to your [DNS settings](https://docs.edgeport.com/product-docs/service-menu/routing). This record should contain the appropriate domain name stated as a ***Name***, and your project’s Edge address (displayed within the *POINTS TO* column in the screen above) stated as a ***Value***.
* If you already have an SSL certificate deployed for your service, you’ll need to [update it](https://docs.edgeport.com/product-docs/start-guide/issue-ssl-certificate/update-ssl-certificate) with the newly added domain(s) to ensure the seamless functioning of the HTTPS service.
  {% endhint %}

### CDN CNAMEs <a href="#h.tiei9999v2lo" id="h.tiei9999v2lo"></a>

The Content Delivery Network (CDN) component within the Edgeport platform is responsible for accelerating the delivery of static assets, including images, CSS stylesheets, embedded videos, Javascript files, and more. Caching these elements on the edge not only boosts loading speed and performance for your project by means of parallelized downloads but also significantly reduces the load on your application's origin servers.

Utilizing both ADN and CDN for your service delivery enables you to segregate the processing of dynamic and static requests, which results in a more cost-efficient distribution and enhanced management efficiency.

Typically, CDN content delivery points are assigned to subdomains like:

* *cdn.example.com*
* *static.example.com*
* *assets.example.com*

Upon adding your service to the platform, you get the default CDN CNAME already configured within your service settings.

To add a custom (e.g., brand-reflecting) domain for your project’s CDN, click on the **Add New CNAME** button above the corresponding list.

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FFRnjyUY6Tp4nbrpYP5JW%2Fimage7.png?alt=media" alt=""><figcaption></figcaption></figure>

Enter the desired domain name to be used as a CDN point and select **Add**:

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FLKq3oecxMsSuH9Gf13Fv%2Fimage2.png?alt=media" alt="" width="446"><figcaption></figcaption></figure>

The newly added CNAME record will instantly appear on the list.

<figure><img src="https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FGU5W7Z5xCW5obrz6BZsl%2Fimage6.png?alt=media" alt=""><figcaption></figcaption></figure>

You can manage the added records using the available icons; they allow you to **edit**![](https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2Fyov1naH9mqbyQOkxGm93%2Fimage4.png?alt=media)or **remove**![](https://539288051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrAkU8kT3556pTePJXRV3%2Fuploads%2FolANEHKU7sKMKTsygEWt%2Fimage1.png?alt=media)a record at any time (only the initial CDN CNAME is neither editable nor removable).

{% hint style="info" %}
A few **important points** to remember:

* After making changes in this list, allow **up to 60 minutes** for them to be fully propagated across all PoPs within the edge network.
* For the traffic to be directed to your application via a newly added CNAME, you need to add the corresponding CNAME-type record to your [DNS settings](https://docs.edgeport.com/product-docs/service-menu/routing). This record should contain the appropriate domain name stated as a ***Name***, and your project’s Edge address (displayed within the *POINTS TO* column in the screen above) stated as a ***Value***.
* If you already have an SSL certificate deployed for your service, you’ll need to [update it](https://docs.edgeport.com/product-docs/start-guide/issue-ssl-certificate/update-ssl-certificate) with the newly added domain(s) to ensure the seamless functioning of the HTTPS service.
  {% endhint %}
