Report this

What is the reason for this report?

Why my website is not loading images ?

Posted on July 30, 2021

I have uploaded a static website through Filezilla on a new droplet and has installed Apache as a server. Whereas all the site is functioning properly some of the images are not showing up. The console is showing 404 error (not found) whereas i have checked several times the path mentioned in html is also correct and the files are also properly placed in the folder. Its that some of the files are showing and some not. While development its perfect on the local server. Please help me out as I am new to the hostings.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

Do you get mixed content errors in the console as well? What I could suggest is to install a Let’s Encrypt certificate for your website and then update all of the http:// references to https:// so that you would not get those mixed content errors.

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-20-04

Let me know how it goes! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.