How do you test Akamai configuration with AEMaaCS before DNS is live? | Community
Skip to main content
Level 2
April 17, 2025
Solved

How do you test Akamai configuration with AEMaaCS before DNS is live?

  • April 17, 2025
  • 1 reply
  • 736 views

I'm setting up Akamai for AEMaaCS using the sample vendor config with edge keys. Is there a way to test Akamai → Dispatcher → AEM routing without pointing the live DNS yet?

Best answer by SantoshSai

Hi @luca_moreau,

Can you try testing it by making curl requests directly to the AEM publish URL and passing the headers manually:

curl https://publish-<program>-<env>.adobeaemcloud.com \
-H "X-Forwarded-Host: yourdomain.com" \
-H "X-AEM-Edge-Key: <your-key>" \
-H "x-aem-debug: edge=true" -v

Also, ensure that your dispatcher’s virtual hosts are configured with yourdomain.com. You’ll only see a full round-trip via Akamai once DNS points to Akamai, but this curl method helps test the setup in isolation.

 

Hope that helps!

Regards,
Santosh

1 reply

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
Community Advisor
April 17, 2025

Hi @luca_moreau,

Can you try testing it by making curl requests directly to the AEM publish URL and passing the headers manually:

curl https://publish-<program>-<env>.adobeaemcloud.com \
-H "X-Forwarded-Host: yourdomain.com" \
-H "X-AEM-Edge-Key: <your-key>" \
-H "x-aem-debug: edge=true" -v

Also, ensure that your dispatcher’s virtual hosts are configured with yourdomain.com. You’ll only see a full round-trip via Akamai once DNS points to Akamai, but this curl method helps test the setup in isolation.

 

Hope that helps!

Regards,
Santosh

Santosh Sai
April 21, 2025

Hi @santoshsai 

How can we validate this curl command is behaving as expected? Are we looking for 200 status?

And in dispatcher, I have used this ' 

DispatcherUseForwardedHost ${FORWARDED_HOST_SETTING} '  in dispatcher_vhost.conf

And declared this FORWARDED_HOST_SETTING variable in global.vars as On.
For setting the X-Forwarded-Host, is this the only configuration we need to do, or is there anything other than this?