I have set up AEM 6.4 on a dev Linux instance (Author, publisher and dispatcher on the same instance). Set up dispatcher as per the standards with dispatcher flush configured. When I access the content path from publisher (serverhostname:4503/content/abc/xyz.html) it works and the samewith dispatcher is not working (serverhostname/content_path/abc/xyz.html) where as (serverIPaddress/content_path/abc/xyz.html) is working fine!!
If this is the problem with host name configurations of the server the publisher page with host name should not work. Can any one know what the issue is? Please help me.
do you get that message from the httpd or from AEM?
And is the $Server_hostname really identical to the one you used in the request? You can increase the loglevel of the dispatcher to DEBUG to see if the dispatcher is consulted for this request or if the problem is the httpd itself. And in that case the dispatcher also logs enough information to see what AEM is doing; just add
into the <ifModule disp_apache2.c> section and restart the httpd.