Report this

What is the reason for this report?

I want to host a python django website?

Posted on February 25, 2021

Hi there,

I want to host a python django 3.8 version made website on digital ocean server so how to go ahead?



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.

Hi @digitalamit4,

First and foremost, you’ll need to install the relevant packages and services in order to be able to Host the application properly. I’m talking about stuff like Nginx used for ReverseProxy and other similar services.

Luckily, DigitalOcean has a pretty good tutorial on how you can install and configure all the necessary things needed for a Djago Application. You can check out the following tutorial :

https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18-04

Regards, KFSys

Hey there,

A quick update for anyone who comes across this in the future. The new Ubuntu 22 buildpack now supports this.

You can find a list of all supported versions on the App Platform here:

https://docs.digitalocean.com/products/app-platform/reference/buildpacks/python/

Hope that this helps!

Best,

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.