# 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%2F5mmRY8TaPyd3PUMY9Rfu%2Fimage.png?alt=media&#x26;token=b0a38d0e-2884-4a45-8793-687848bd28c1" 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%2FgN04xidMs7oy7VkNr3yX%2Fimage.png?alt=media&#x26;token=0c760559-12b1-42a9-8b25-d18baf566213" 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.
