Report this

What is the reason for this report?

running mutliple flask application

Posted on February 20, 2015

Hello there , i have followed the tutorial here : https://www.digitalocean.com/community/tutorials/how-to-deploy-a-flask-application-on-an-ubuntu-vps?comment=28202 , that is about how to deploy flask app on ubuntu and it works with me pretty fine.

but i’m wonder how to run multiple apps at the same time. when i enabled the virtual host the default one ( index.html for example diapered ) i want to give each application home directory like /var/www/App1 thus if my App1 route “/about” it will be domain.com/App1/about

i came from webfaction and i was familiar with the way the handle many applications at same host



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.

This comment has been deleted

This comment has been deleted

How the virtualhost will look like if each of the apps would have different domain names? Apache is not allowing two virtualhosts listening on the same port Number.

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.