Comments on Multiserver Setup With Dedicated Web, Email, DNS & MySQL Database Servers On Debian Squeeze With ISPConfig 3
Multiserver Setup With Dedicated Web, Email, DNS & MySQL Database Servers On Debian Squeeze With ISPConfig 3 This tutorial describes the installation of an ISPConfig 3 multiserver setup with dedicated web, email, database and two DNS servers all managed trough a single ISPConfig 3 control panel. The setup described below uses five servers and can be extended easily to to a higher number of servers by just adding more servers. E.g. if you want to have two mailservers, do the setup steps from chapter 2 on both of these servers. If you want to set up more web servers, then install ISPConfig on all other web servers in expert mode except of the first one.
28 Comment(s)
Comments
I've been copying and pasting so spelling is definately correct.
root@mail:~# apt-get -y install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt php5-imagick imagemagick libapache2-mod-suphp libopenssl-ruby libapache2-mod-ruby sudo zip wget
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libruby' instead of 'libopenssl-ruby'
Package mcrypt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libapache2-mod-ruby is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package php-auth
E: Package 'mcrypt' has no installation candidate
E: Unable to locate package libapache2-mod-suphp
E: Package 'libapache2-mod-ruby' has no installation candidate
I've been copying and pasting so spelling is definately correct.
Hello
thank you for these excellent howto!
think you will do a refresh for debian wheezy?
thank you!
Any update on this question?
Squeeze is about dead.....
Does this setup work behind a nat firewall?
Yes, this works behind a NAT Firewall as well.
the pages seem to be screwed up a little, it goes from page 1 wich is parts 1 & 2 then page 2 which is part 7 which is the ned configs
@ step 7 im stuck i only have web.example.tld ther is no mail. db. ns1. ns2.
how can i fix it
thanks in advance
why is it required to have "kind of" redundant installation of ISPConfig and MySQL on all servers?
ISPConfig is the software that controls and configures the server, so not installing ISPConfig on a node would mea that this node is not part of this multiserver setup and therefore it can not be controlled by rhe ISPConfig master. The MySQL database is there for fault tolerance, the setup that you instal here allows it that each node can fail and will not affect any other node. If you would use a central mysql database instead, then this central database would be a single point of failure and all nodes would fail if that db is offline.
Hello,
I would like to configure two servers as following but not finding clear instructions for Jessie.
www.example.com (Web, DB & NS1)
mail.example.com (Mirror of Web, Email and NS2).
I have already purchased the guide but it lacks the instructions for Jessie. Please help.
Regards,
Sangeet
Hi, I followed this tutorial and started installing everything on the master ISPconfig server. But on this page I have a big problem: in ISPconfig on the master only the master itself is listed below the
System > Server services
I added the clients to /etc/hosts and already added the mysql-users to root - but did not setup the clients themselves!
How can I enable the clients in the Server Services region?
Hello Till, I have to use the same root password for each installation mysql?
No, you can use different root passwords.
Excellent guide, I followed it to the letter and everything works properly.
But now I have a doubt. The "mail" command on the web server does not work when no SMTP server configured. How can I do to configure your web server so that the mail server uses as the sending mail server?
Thank you in advance
I have set this up for Opensuse 13.1
My question is: Does, how do I know if the databases are actually being served from the DB-Server?
I looked in /var/lib/mysql but it's not the same as the /var/lib/mysql server on the main ISPConfig Main server.
My second question: is mysql being served from the DB-Server or the main ISPConfig server?
I wanted this setup to offload mysql (performance issues) from the main ISPConfig server.Is this what I am doing?
Hi Till
Is there a plan any time soon to update this for Jessie? I've been trying to set up a new cluster 2 x ns 1 x mysql and 1 x web/mail but keep getting fails at step 2 at
[code]
apt-get -y install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-curl php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt php5-imagick imagemagick libapache2-mod-suphp libruby libapache2-mod-ruby libapache2-mod-perl2 sudo zip wget
[/code]
It would be great if this could be updated to also include lets-encrypt
Thanks :)
The ISPConfig manual https://www.howtoforge.com/download-the-ispconfig-3-manual contains already an updated version for Debian Jessie + ISPConfig 3.1.
Hi Till, I have the manual now, would I be right in assuming if I want to have 2 x ns servers and 1 x web email and MySQL I do the combined installs? -
also, how easy would it be to add separate servers in the future?
How to port forward primary dns and secondary dns server?
Needs sudo apt-get install -y dovecot-sieve dovecot-mysql before installing ISPConfig, otherwise authentication and mail delivery will throw errors in /var/log/mail.log.
Does anyone managed to configure multiserver with let's encrypt support? I have tried, having separate server for dns (ns1.domain.tld) and then dns moved to master server (web.domain.tld). Non of configuration worked. I receive this message in both situation:
<p>The following errors were reported by the server: Domain: www.domain.tld Type: connection Detail: DNS problem: SERVFAIL looking up A for www.domain.tld Domain: domain.tld Type: connection Detail: DNS problem: SERVFAIL looking up A for domain.tld To fix these errors, please make sure that your domain name was entered correctly and the DNS A record(s) for that domain contain(s) the right IP address. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you're using the webroot plugin, you should also verify that you are serving files from the webroot path you provided.</p>
Everything else work perfectly, ftp, mail, database, dns configuration. All the servers are behind nat and I did forward the port 53 to local ip of ns1.domain.tld and the do master ispconfig (web.domain.tld) for second situation.
Thank you for any suggestion
Hi,
For when a howto Multiserver Setup With Dedicated Web, Email, DNS & MySQL Database Servers On Debian 9?
Thanks in advance!
Same here maby Till can do a update on this for Debian 9 always love the tutorials from Till Brehm
Hello,
Thanks for the tuto.
My question is: Do I have to get 5 domain too or I can use one domain name for 5 servers. Thanks
One domain is enough, there is just one domain used in this tutorial. The hostnames of the 5 servers are subdomains of that one domain.
Thanks @TillCan you please make a version of this tuto for centos 7 with the latest updates.
How can I reconfigure a previous ispconfig3 server to make a multiserver setup?
Thanks for all your work!