Edit an origin

You can edit an origin from an environment's Origins tab. For the full description of each field, including the values you need to have ready, see Add an origin.

📘

Changes affect every environment version that uses the origin

Editing an origin affects every environment version that references it, including versions already active on production. Stage and test origin changes the same way you'd stage a rule change. See Test on staging.

  1. From the Control Center menu, click Content delivery > CDN > Delivery Manager.

  2. In the Workspaces page, click the workspace that contains the origin you want to edit.

  3. Go to the Environments tab, and click the environment that contains the origin you want to edit.

  4. Go to the Origins tab.

  5. In the list of origins, click the ellipses menu of the origin you want to edit.

  6. Select Edit.

  7. Edit your origin settings:

    1. Edit the name for your origin.

      🚧

      Rules and environment versions refer to the origin by name, and in the Delivery Manager API originName is write-once. Treat the name as permanent and change it only if you're sure nothing depends on the current value.

    2. Select the origin type.

      • NetStorage. Akamai's secure, cloud-based storage service. Select the NetStorage Account instead of entering a hostname.

      • Your origin. A physical, cloud, or third-party server that you own and maintain. It stores your original content, which Akamai edge servers fetch to serve to end users.

      • Akamai Object Storage. You can use ​Akamai​ Object Storage as the origin server, and Cloud Access Manager (CAM) for authentication. In this case, you can Create an access key using the CAM interface or the API.

    3. Edit the origin server hostname URL.

      🚧

      Akamai strongly advises against using your origin server’s IP address, as any address changes or reassignments might make your origin unreachable and result in a denial of service.

    4. Specify the base path to map edge requests to specific directory structures on your backend origin server. This allows you to prefix URLs sent to your origin, defining exactly where content resides on your server. Ensure the path both starts and ends with a slash, such as /images/ or /assets/. The base path changes the cache key and maps the request path, for example, it can map /picture.jpg to origin.com/images/picture.jpg.

      🚧

      Changing the base path on an origin that's already serving traffic makes the existing cached content unreachable, so edge servers refetch everything. Expect a spike in origin traffic until the cache repopulates. Make base path changes during a low-traffic window, and activate them on staging first.

    5. Select the authentication method. For how each method works and what to prepare, see Origin authentication methods.

      • None. This is the default and applies to you if your origin doesn't have any external authentication requirements.
      • Akamai Signature Header Authentication. Edge servers sign each forward request with a shared secret, and your origin validates the signature before responding. You also need to select the access key created for this method.
      • Amazon Web Services. Select this if you're authenticating with this third-party cloud provider as your origin server. Edge servers use the signature version 4 signing process to authenticate your requests to this third-party cloud provider. See V4 signing process in AWS. You also need to select the access key used to authenticate requests to your AWS service.
      • Interoperability Google Cloud Storage. Select this if you're authenticating with Google Cloud Storage (GCS) as your origin server. Edge servers use the signature version 4 signing process to authenticate your requests to this third-party cloud provider. See V4 signing process in Google Cloud Storage. You also need to select the access key used to authenticate requests to your GCS service.
      • Akamai Object Storage. Select this to use Akamai Object Storage (AOS) as the authentication method to contact your origin server. You also need to select the access key created in Cloud Access Manager that you want to use to sign your requests to Akamai Object Storage.
    6. Select whether you want to remove the Via header from requests sent to your origin server in Akamai, preventing them from revealing intermediary proxy information to your origin.

    7. Select whether you want to remove the Age header sent by your origin server in Akamai. Age headers can cause Akamai to erroneously reduce TTL values. This ensures consistent caching.

  8. Click Save changes.

  9. Once you're ready with all updates, click the global Save at the top of the page.

Next steps

Your edits don't reach the edge until an environment version that references this origin is activated.

  1. Activate the affected environment versions on the staging network and confirm edge servers can still fetch content from the origin. See Test on staging.
  2. Activate on the production network.

If requests to the origin start failing after your change, see Troubleshoot origin connections.


Did this page help you?