Expand my Community achievements bar.

Retaining domain name in AEMaaCS Publish Servers

Avatar

Level 4
Level 4

Hi guys,

 

I am getting a weird issue in the Sandbox Environment in AEM Cloud -

My dispatcher vhost has ServerName configured to handle the request from domain name.

 

However, on the publish where I have a utility method to extract the Server Name from SlingHttpServletRequest request object via request.getServerName() the logger shows the server name from the publish as http://publish-p12345-e1234567.adobeaemcloud.com

 

Shouldn't the output match the domain name entered as even internally the domain should ideally be preserved from the request object?

 

Thanks,

CL

0 Replies