Using a third party CDN, when we hit the site using http vs https it redirects to a domain

We have Akamai in front of the XDN, and when we hit our website at it redirects to our custom edge domain at How do we make it so that the http redirect happens to the proper site using https?

The http > https redirection happens automatically based on the value of the Host header if http traffic reaches the XDN. In the case of a third party CDN, if you are using the address as an origin this could happen.

To resolve, you either have to configure Akamai to do the redirect itself or you have to configure Akamai to rewrite the location header on the redirect coming from the XDN.

More info can be found in the guide here:

1 Like