I tried accessing the pages in Author environment and the page header and footer content is loading properly while loading the page .
It is also loading properly in publish instance .
But the header and footer is not loading if I try accessing it through ip instead of localhost.
I faced this issue in my project then I tried for we-retail page and I can see the issue exists ther as well.
Can anyone help with this issue?
Thanks in advance.
I just tried on AEM 6.5 with below url and it worked fine-
Without loggin in its working fine with proper header and footer.
Try to see the logs.