Powered by <insert here>.
Django is able to run on a number of different web servers, databases, and operating systems. This flexibility lends itself to a lot of diversity within the community, but what kind of combinations are the most common?
The developers seem to suggest that Apache2 + mod_python + Postgresql seem to be the recommended setup, but undoubtedly there are lots of others. I've heard mentions of lighttpd, FastCGI, nginx running on Windows, Linux, Mac OS X, Unix/BSD, and others. There is even a useful page on the Django wiki with some of the arrangements along with instructions for each.
So I pose the question to you, what do you run on? What operating system, server, and database? If you're feeling really ambitious, I'd be interested in hearing how your setup has worked for you.
As for this site, it's hosted on Debian running Apache 2, mod_python, SQLite. For a simple, low traffic site like this, it has worked quite well.
Comments (27)
By Pharao on March 10, 2008 at 3:21 a.m.
Productive: debian etch, lighttpd + fastcgi, mysql / postgre (depending on the current server setup)
Development: I prefer to setup a vserver on my private server and run nearly the same setup as "productive"
I noticed that it's just more comfortable to work on a debian system when it comes down to modules you need and other stuff.
Beside that I easily use a Mac, Linux or Windows system to develop and test everything.
By neithere on March 10, 2008 at 3:25 a.m.
development: linux:opensuse10+devserver+sqlite3
production: freebsd6+apache2+mod_python+mysql5
By finn on March 10, 2008 at 4:10 a.m.
development: ubuntu linux + devserver + mysql
production: debian linux + apache + fastcgi + mysql
By zerok on March 10, 2008 at 4:55 a.m.
development: MacOSX + devserver + MySQL5
production: Linux:Ubuntu + Apache2 + mod_wsgi + MySQL5
By casseen on March 10, 2008 at 7:22 a.m.
development: ubuntu + devserver + mysql
production: gentoo + lighttpd + mysql
By masida on March 10, 2008 at 8:17 a.m.
development: MacOSX + devserver + PostgreSQL 8
production: CentOS + apache2 + mod_wsgi + PostgreSQL 8
Personally I'm very happy with mod_wsgi (especially external daemon processes which can be run as a separate user per site). I find it strange it's recommended over mod_python...
By Silas on March 10, 2008 at 9:33 a.m.
Development: OS X + devserver + SQLite
Production: Apache 2 + mod_python + PostgreSQL + lighttpd + memcached
By matt on March 10, 2008 at 11:30 a.m.
prod: fedora 8 + apache & nginx + mod_python + mysql
love it.
By Derek Payton on March 10, 2008 at 12:42 p.m.
Development: Ubuntu + dev server + SQLite or MySQL (depending on what computer I'm on)
Production: Ubuntu Server + LightTPD or Apache2 (depending on what server I'm on) + FCGI + MySQL
I've heard nasty things about mod_python, and haven't had the opportunity to try mod_wsgi yet.
By Greg on March 10, 2008 at 2:26 p.m.
I admittedly know nothing about mod_wsgi, but it looks interesting. What kind of things give mod_wsgi an edge over mod_python?
By Jeff on March 10, 2008 at 3:01 p.m.
FreeBSD + nginx + fastcgi + sqlite
Works very well for me, very low overhead in terms of resources and quite fast.
By akaihola on March 10, 2008 at 4:49 p.m.
Development: Ubuntu + devserver + SQLite/PostgreSQL 8.1
Production: Debian Etch + lighttpd + FastCGI + PostgreSQL 8.1
By pytechd on March 10, 2008 at 9:03 p.m.
FreeBSD 6.2, Apache 2.2, mod_python, and PostgreSQL 8.2. Wouldn't consider any other DB.
By nickp on March 12, 2008 at 4:17 a.m.
Gentoo + apache2.2 + mysql + mod_wsgi
Works pretty nice. I saw a speed improvement compared to mod_python
By Jeffrey Gelens on March 12, 2008 at 4:34 a.m.
ArchLinux, Nginx in front of Apache2.2, mod_wsgi, PostgreSQL8.2
By Eric Florenzano on March 12, 2008 at 7:03 a.m.
Ubuntu Linux, Nginx, Apache2.2, mod_wsgi, PostgreSQL and Memcached
By sean2000 on March 12, 2008 at 4:06 p.m.
For an intranet i work on:
Windows XP + Apache + mod_python + MySQL
Not my choice but actually goes ok
By Paul Bx on March 14, 2008 at 2:25 p.m.
FreeBSD (Johncompanies.com), Apache 2.2, mod_python, SQLite and MySQL.
Planning to migrate to mod_wsgi eventually.
By Ahmad Alhashemi on March 16, 2008 at 7:43 a.m.
Development: Windows XP (moving to Mac OS X) + Dev Server + MySQL
Production: Ubuntu + Apache + mod_python + MySQL
By FunkyBob on March 18, 2008 at 1:12 a.m.
Well, to start with we used LigHTTPD/FastCGI on Debian/Linux and Solaris9... which seemed ok, with a few quirks.
Then Lighty pissed me off one too many times, and I moved to Apache2/mod_wsgi ... which I run quite happily on FreeBSD 6.3 and Debian/Linux.
For muck-about testing we use SQLite... for real work it's Postgres all the way. I take my data integrity seriously, so MySQL is just not an option.
By emes on April 3, 2008 at 6:15 a.m.
production: Debian or PLD Linux + PostgreSQL + Lighttpd + daemontools
devel: PLD Linux + PostgreSQL + manage.py runserver
By Melvin Gay on August 19, 2008 at 1:42 a.m.
animalcule doublelunged politician animability invigorator pythagorize scarcity mithraicism
<a href= http://www.geocities.com/rikerleitrim... >Roswell</a>
http://www.djdan.com
<a href= http://www.theboilershop.co.uk >The Boilershop</a>
http://www.usatoday.com/life/televisi...
<a href= http://eecs.vanderbilt.edu/CIS/IRL/ >Vanderbilt University Intelligent Robotics Laboratory</a>
http://www.indus-sales.com/
<a href= http://www.playalaboca.netfirms.com/ >Hostal Buenavista</a>
http://www.cnn.com/2003/ALLPOLITICS/0...
By Kent Burnett on August 21, 2008 at 6:14 p.m.
animalcule doublelunged politician animability invigorator pythagorize scarcity mithraicism
<a href= http://www.kuhndentist.com/ >David R. Kuhn, DMD</a>
http://www.geocities.com/lawazanda/an...
<a href= http://luxuryplans.com/ >Luxury Home Plans</a>
http://womenssurgerygroup.com/conditi...
<a href= http://www.tablepads.com/ >Factory Direct Tablepads</a>
http://www.catholic-forum.com/saints/...
<a href= http://www.cafetamayo.com/ >Cafe Tamayo</a>
http://cnn.com/2001/WORLD/americas/08...


By orzel on March 10, 2008 at 2:56 a.m.
Hello :-)
During development I use Linux (gentoo unstable,amd64)+devserver+sqlite, and on production I use
Linux (gentoo stable,x86)+apache+mod_python+mysql.