Files on the server loads only when it is accessed through www
So I have image on the server located in the images folder.
It serves as a Thumbnail when my site is shared on social media.
But, it can only be viewed when you go to my site with www:
and if you remove www it shows 404:
Does anybody know what is the problem? What do I need to do to fix this?
Thanks in advance.
My droplet is on Ubuntu 14.04