Question

Is it possible to host a python application on DO?

I have a small python application, no frameworks to host. Is it possible to host it on DigitalOcean? and how? I’ve already installed python and pip and I can run the script manually but how can a serve it as a normal web application. Thanks

Subscribe
Share

Submit an 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.

It depends. You can use a server implemented in Python or create a proxy in Apache/Nginx.

https://docs.python.org/3/library/http.server.html