How to install and config iRedMail on droplet running several django projects?

November 15, 2013 2.9k views
You guys at Digital ocean are so awesome and good at writing tutorials so I hope you can help me out here. I got a Debian droplet up and running with several django projects using gunicorn and nginx. I would like to use iRedMail to host the different projects (and domains) email, installing iRedMail on the subdomain To achieve this I have tried to combine two of your excellent tutorials: How To Install iRedMail On Ubuntu 12.04 x64 and How To Configure Nginx as a Front End Proxy for Apache Am I on the right track? Could it be done this way or how should I go about it? Also could you make a tutorial that covers this problem? that would really amazing!
4 Answers
That is one solution however it's always preferred to stick with just nginx if you do not need apache and already have nginx installed.

See this question: How do I Make iRedAdmin (from iRedMail) work under Nginx (Ubuntu 13.04 x64)?
Thank you for your reply! Only using nginx seems like a cleaner and better solution. Thank you for your link too I also found some other resources that I hope will help me. I'll report back when I have tried them out.
Okay, so I got everything up and running now. I used a tutorial from an answer to the question you linked to. Here is a link:
Then I borrowed the part apart installing and configuring php5-fpm from your tutorial here:
And finally disabled apache2 by running: sudo update-rc.d apache2 disable
by Etel Sverdlov
LEMP stack is a group of open source software to get web servers up and running. The acronym stands for Linux, nginx (pronounced Engine x), MySQL, and PHP. This tutorial explains how to install the required repos to download nginx and php-fpm, how to install MySQL, how to install nginx, how to install php-fpm, how to configure php and nginx, and how to create a php info page. This tutorial is written for Ubuntu 12.04.
Have another answer? Share your knowledge.