# Configure an Origin Server

1. Click one domain name on the domain list.

   <figure><img src="/files/qSe1AoYrV80C5DPkdr4F" alt=""><figcaption></figcaption></figure>
2. Click **Origin Config**. You can modify the origin server, and upstream port.

   <div align="left"><figure><img src="/files/6TtAMtkSj8AWk4ImKxbe" alt="" width="407"><figcaption></figcaption></figure></div>

   **Origin Priority**\
   \- Primary Origin: The address of a basic origin is the default address of the origin server used for back-to-origin routing.\
   \- Secondary Origin: When the primary origin server cannot be connected, the second origin server will be activated.


---

# 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.console.zenlayer.com/welcome/content-delivery-network/domain-management/cdn-settings/configure-an-origin-server.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.
