Question

Is it possible to host a python application on DO?

Posted July 3, 2021 121 views
PythonHTML

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

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.

×
Submit an Answer
1 answer

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