The Perfect Server - Ubuntu 12.10 (nginx, BIND, Dovecot, ISPConfig 3)

Version 1.0
Author: Falko Timme
Follow me on Twitter
Last edited 10/23/2012

This tutorial shows how to prepare an Ubuntu 12.10 (Quantal Quetzal) server (with nginx, BIND, Dovecot) for the installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3 is a webhosting control panel that allows you to configure the following services through a web browser: Apache or nginx web server, Postfix mail server, Courier or Dovecot IMAP/POP3 server, MySQL, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more. This setup covers nginx (instead of Apache), BIND (instead of MyDNS), and Dovecot (instead of Courier).

If you want to use nginx instead of Apache with ISPConfig, please note that your nginx version must be at least 0.8.21, and you must install PHP-FPM as well. For CGI/Perl support, you must use fcgiwrap. This is all covered by this tutorial.

Please note that you cannot use this tutorial for Debian Squeeze because Squeeze comes with an older nginx version (0.7.67.) and does not have a PHP-FPM package!

Please note that this setup does not work for ISPConfig 2! It is valid for ISPConfig 3 only!

I do not issue any guarantee that this will work for you!


1 Requirements

To install such a system you will need the following:


2 Preliminary Note

In this tutorial I use the hostname with the IP address and the gateway These settings might differ for you, so you have to replace them where appropriate.


3 The Base System

Insert your Ubuntu install CD into your system and boot from it. Select your language:

Then select Install Ubuntu Server:

Choose your language again (?):

Then select your location:

If you've selected an uncommon combination of language and location (like English as the language and Germany as the location, as in my case), the installer might tell you that there is no locale defined for this combination; in this case you have to select the locale manually. I select en_US.UTF-8 here:

Choose a keyboard layout (you will be asked to press a few keys, and the installer will try to detect your keyboard layout based on the keys you pressed):

The installer checks the installation CD, your hardware, and configures the network with DHCP if there is a DHCP server in the network:

Enter the hostname. In this example, my system is called, so I enter server1:

Create a user, for example the user Administrator with the user name administrator (don't use the user name admin as it is a reserved name on Ubuntu 12.10):

Share this page:

4 Comment(s)

Add comment


From: Sam at: 2013-02-28 22:25:12

Hey there! Nice tuto btw. Hope I get through it eventually.

Now I'm stuck when I must type : make.

I did build a : makefile into php5-build/php5-3.18/ and when I run ./configure everything seems fine. It runs everything into the makefile but when I type : make into the folder, I get this answer : 

make: *** No targets. Stop.   Could someone help ?

From: Antonio Miranda at: 2013-03-02 20:46:20


 best regards.

From: Shemul at: 2013-07-03 18:30:17

cp /usr/local/src/php5-build/php-5.3.18/php.ini-production /opt/php-5.3.18/lib/php.ini

 cp: cannot stat `/opt/php-5.3.18/etc/php-fpm.conf.default': No such file or directory

 What's wrong ?

From: NeoATMatrix at: 2013-03-31 03:05:07

Just need to say : THANK  You for this tutorial.

With some minor changes followed Your article and finished setting up the Nginx server with ISPC  in short time.

The server is up and running out of box and smoothly.

Thank you for taking time and for effort writing this article.