Preview for unpublished items showing page not found error in umbraco 7.7.6

Hello,

I am facing one issue with preview for unpublished items. When ever i tried to preview unpublished page from backoffice , it is giving page not found 404 page. I have handled the 404 using error pages node in umbracosettings.config.

My application is hosted on AWS EC2 instances under loadbalancer using master slave configuration(1 master and 2 slave servers)

I am using Umbraco 7.7.6 for my application. Can someone help me to resolve the issue, as it is important to content editors to preview the items before sending it to the publish.

Thanks,
Vinod Nanduri.


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/91442-preview-for-unpublished-items-showing-page-not-found-error-in-umbraco-776