> For the complete documentation index, see [llms.txt](https://docs.console.zenlayer.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.console.zenlayer.com/welcome/content-delivery-network/domain-management/cdn-settings/configure-an-origin-server.md).

# Configure an Origin Server

1. Click one domain name on the domain list.

   <figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2Fgit-blob-abdf0eaed1e2ef659e936899256c252e521f4254%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
2. Click **Origin Config**. You can modify the origin server, and upstream port.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2Fgit-blob-1419a8cdb61bba6babf952779fa19f36bba14d8e%2Fimage.png?alt=media" 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.
