Hello Developer there,
I am working on site and in that i have one feature of uploading files from html and those file/images can be access from django admin this workflow is working perfectly on local server.
But the problem come after deployment, I have deployed my project on digitalocean using apache server and When i try to open those file from django admin it shows error ( Not Found The requested URL was not found on this server.)
I have checked that file is in the folder.
Somebody please help.
Thankyou
Using your browser’s developer tools, verify the URL being rendered on your page. Then verify that your apache configuration can / will retrieve those files from that URL by referencing the directory in which they are located. Also check your logs (both for your app server and apache) for any error messages regarding those accesses.
Also review / confirm your MEDIA_URL setting.