I want my Amazon CloudFront distribution to forward the host header to the origin. How can I do that?

  1. Open the Amazon CloudFront console, and then choose your distribution.
  2. Choose the Behaviors view, and then choose the path you are using.
  3. Choose Edit.
  4. For Cache Based on Selected Request Headers, choose  Whitelist.
  5. Under Whitelist Headers, choose Host from the column on the left, and then choose Add.
  6. Choose Yes, Edit.

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2018-05-22