Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to host Django Application using gunicorn & nginx in Production
I have 2 Django Application that I want to run in a same server and I have 2 domain name. Please tell me how to host this 2 Django Application in same server this is the domain and file locations for my application.
First Application —>
Domain –> harshblog.tech
file location for my project –> /home/harsh/harshblog
file location for my python environment –> /home/harsh/harshblog/env
file location for my wsgi.py –> /home/harsh/harshblog/harshbloging/wsgi.py
Second Application –>
Domain –> kingofmemes.xyz
file location for my project –> /home/harsh/harshmemes
file location for my python environment –> /home/harsh/harshmemes/env
file location for my wsgi.py –> /home/harsh/harshmemes/memes/wsgi.py
If you need more information related to this 2 Application please tell me and please help me.
This 2 application is running on apache2 in different server. So, I want to run this 2 applications in nginx in a same server.
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.×