Difficulty getting the apache server to serve my static files to aws lightsail

Keywords: Django - AWS - Technical issue - Other
bnsupport ID: 2690560b-bbf1-6041-549e-d356d0c1146e
Description:
As the title says, I was following the tutorial on aws lightsail on how to upload a django application to lightsail.

I followed all of the steps, and the static files was served perfectly during local production on my machine. The trouble began during the setup of the apache server. for some reason, the apache server is unable to send my static files, and I do not know what to do, and I’ve been trawling through the internet for two days.

I finally found out exactly what worked for me. For anyone who has the same problem, I realized that aws lightsail tutorial was very outdated.

Instead, I followed bitnami’s tutorial, and it got me the exact static files I needed.

tutorial: https://docs.bitnami.com/aws/apps/weblate/get-started/deploy-django-project/

Hi @uc6991,

Thanks for sharing your solution. We are glad our documentation worked for you.

Regards

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.