Question

Why my website is not loading images ?

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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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