> For the complete documentation index, see [llms.txt](https://docs.jentis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jentis.com/key-features/cookie-lifetime-extender/cookie-lifetime-extender-webserver-cdn-configurations/azure-cdn-configuration-guide.md).

# Azure CDN Configuration Guide

### Implementation steps <a href="#steps" id="steps"></a>

#### Step 1: <a href="#step-1" id="step-1"></a>

Go to your website Front Door configuration

***

#### Step 2: <a href="#step-2" id="step-2"></a>

Choose origin groups → Add origin

***

#### Step 3:  <a href="#step-3" id="step-3"></a>

Set any name, uncheck Enable health probes

***

#### Step 4:  <a href="#step-4" id="step-4"></a>

Select Add an origin

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

&#x20;

***

#### Step 5:  <a href="#step-5" id="step-5"></a>

Fill in origin details:

1. Set any name
2. Set Origin type = Custom
3. Set Hostname as following: hash of the JENTIS container as subdomain + . + website domain, e.g. [hash.yourwebsitedomain.com](http://hash.yourwebsitedomain.com/)
4. Press Add<br>

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

***

#### Step 6:  <a href="#step-6" id="step-6"></a>

Go to Rule Sets → Add Routing Rule:

1. Set name
2. Set Condition: if Request URL Value Contains /hash (hash of the JENTIS container)
3. Set Action: Overwrite origin group = Yes, Origin group you created in the previous step, Forwarding protocol = Match the incoming request, Caching = Disabled
4. Save

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

***

#### Step 7:  <a href="#step-7" id="step-7"></a>

Go to Front Door configuration panel and choose edit the website route

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

***

#### Step 8:  <a href="#step-8" id="step-8"></a>

Add the rule from the previous step and press Update

{% hint style="danger" %}
After enabling Cookie lifetime extender, the DCP will give a proxy code that is expected to be setup on `https://domain.*/hash` however, if it is set up on `https://www.domain.*/hash` it will cause a CORS Error on the Cookie Lifetime Extender Requests.

For more details on WWW configuration follow this [guide](https://docs.jentis.com/key-features/cookie-lifetime-extender/configure-your-tracking#www-configuration-guide-optional).
{% endhint %}


---

# 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://docs.jentis.com/key-features/cookie-lifetime-extender/cookie-lifetime-extender-webserver-cdn-configurations/azure-cdn-configuration-guide.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.
