The code, which is an api builds perfectly fine and the logs show that gunicorn succesfully runs. I have tried this specific code locally on a windows machine as well as a linux machine, my code works perfectly without any errors on those, I am also able to manually reverse proxy the api on a linux server, but for whatever reason whenever I go to put a domain in, the api does not seem to work. I made sure that the container port is 8000 which is where my application is running. The domain is pointing correctly to my VPS and I have made sure that this was not the problem by trying a react application, that worked fine.