Configure origin settings
Akamai configures some origin settings by default. You can customize certain settings like header and hostname settings, origin certificate verification, and connection ports once the origin has been added to your workspace.
- From the list of origins in the Origins tab, select the name of the origin you want to configure.
- Set your origin type. This is the kind of server your origin content is retrieved from.
- Your origin. Can include Akamai Object Storage, third-party origins (like Amazon Web Services), or other custom origins.
- NetStorage. Akamai’s NetStorage service.
- If necessary, edit the URL for your origin server hostname.
- Select the forward host header type from the dropdown. This is the hostname Akamai forwards to your origin server in the HTTP HOST request header:
- Incoming host header. Service hostname received in the request is used. For example, a request for
www.example.comresults inwww.example.combeing sent in the HOST header. - Origin hostname. The origin server hostname is sent in the request to your origin server. Used if the origin server is configured to listen for the origin server hostname. For example, end-user requests for
www.example.comresult inorigin-www.example.combeing sent in the HOST header. - Custom. The service hostname is a different name than the one the origin server expects. For example, an end-user request for
www.example.com.akamaized.netcan setwww.example.comas the value sent in the HOST header to your origin server.
- Incoming host header. Service hostname received in the request is used. For example, a request for
- Set the cache key hostname. The edge network uses cache keys to identify your cacheable content based on the entire origin URL path and query string:
- Incoming host header. Used if your origin server is a virtual server. Objects requested with the same path and query string are given a unique cache key by service hostname. For example, once cached,
http://www.example.com/logo.gifandhttp://www.example.co.uk/logo.gifare treated as separate objects. - Origin hostname. All objects requested with the same path and query string are treated as the same object, even for content served from other configurations with the same origin server hostname. For example, once cached,
http://www.example.com/logo.gifandhttp://www.example.co.uk/logo.gifare treated as the same object. - Custom.
- Incoming host header. Used if your origin server is a virtual server. Objects requested with the same path and query string are given a unique cache key by service hostname. For example, once cached,
- Enable or disable gzip compression support. Enabling gzip compression can help optimize performance by reducing the size of cached objects. We recommend disabling this only if your origin server doesn’t support content delivery using gzip compression or if you prefer to serve uncompressed content. When enabled, edge servers send an Accept-Encoding: gzip header in requests to your origin server.
- Enable or disable the sending of true client IP headers. This sends a custom header containing the IP address of the immediate client connecting to edge servers. This can provide more useful information than standard X-Forward-For headers, which can be modified by proxies.
- Choose your origin SSL certificate verification settings. This controls how your origin server is authenticated and is intended to prevent man-in-the-middle attacks. Edge servers check to make sure the certificate sent by your origin server during the SSL handshake exactly matches a certificate or is signed by a certificate authority specified in your configuration:
- Use platform settings. Allows edge servers to choose settings on your behalf. Trusts certificates signed by any certificate authority listed in the Akamai Certificate Store. Settings are subject to change at any time.
- Choose your own certificate (recommended). Lets you maximize security by giving you direct control over which certificates edge servers should trust.
- Third-party certificate. Use this setting if you’re using a third-party origin like Amazon Web Services..
- Disable verification. Turns off origin SSL certificate verification.
- Configure the connection ports for your origin server:
- HTTP port. The port on your origin server you want edge servers to connect to for HTTP requests. The standard port for HTTP is port 80.
- HTTPS port. The port on your origin server you want edge servers to connect to for HTTPS (SSL/TLS) requests. The standard port for HTTPS is port 443.
- Review your origin configuration, and click Save.
Updated 5 months ago
Did this page help you?
