Add only web server to existing server

Discussion in 'Installation/Configuration' started by Milen Karaganski, Aug 25, 2020.

  1. Milen Karaganski

    Milen Karaganski New Member

    Hello.

    I have server with ISPConfig 3 and all features installed on it (MySql, DNS, etc.). Now I want to add a second web server, but only with apache installed. I.e. it will use databases, mail and DNS records from the 1st server. Is this possible?

    Or I have to install everything on the second server also, then choose "Expert mode" and then choose that this new server shall join 1st server?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Yes.
    This is the way it is done. ISPConfig manual explains how to install a multiserver setup.
     
    ahrasis and Milen Karaganski like this.
  3. Milen Karaganski

    Milen Karaganski New Member

    I'll take a look at it. Thanks.
     
  4. Milen Karaganski

    Milen Karaganski New Member

    OK. So:
    1. for the second server, I can follow the "Perfect server guide" but install ONLY Apache, FTP and MySQL server (i.e. without mail server, DNS server, etc,).
    2. Then, choose EXPERT mode for ISPConfig install
    3. Choose "Yes" to add to existing Multiserver
    4. Enter local MySQL credentials
    5. Enter Master SQL credentials
    6. Choose "NO" for configuring all other servers (Mail server, DNS server, etc.)

    Correct?
     
    ahrasis likes this.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. and before you start, take care that you add a mysql root user on the master that can access the master from IP and hostname of the slave system. This connection via root user is only used during install and later when you install an update.
     
    ahrasis likes this.
  6. Milen Karaganski

    Milen Karaganski New Member

    You mean that "root" should have "%" as a hostname for "dbispconfig" database in table user rights?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    No, that would be really insecure. That's why I said you must create new root users, one for the hostname of the new slave and one for the IP address of the new slave. have a look at the multiserver install guide here at howtoforge, it's described there.
     
    ahrasis and Milen Karaganski like this.
  8. Milen Karaganski

    Milen Karaganski New Member

    Found it. Thanks.
     

Share This Page