how to add more servers on same ns

Discussion in 'ISPConfig 3 Priority Support' started by abintipl, May 31, 2013.

  1. abintipl

    abintipl Member

    Hi,

    I have installed Virtual multi-server environment from tutorial on

    http://www.howtoforge.com/virtual-mu...th-ispconfig-3

    is working fine

    I plan to add 2 or 3 more servers to my existing Dedicated Server and want to use same NS1 & NS2 which I have added for my Server Set-up

    My existing Server has 6 IPS & are used as under

    Type: Node
    Hardware: Dedicated
    Hostname: root.example.tld
    192.168.1.1
    Type: Container
    Hardware: Virtual
    Hostname: web.example.tld
    192.168.1.2
    Type: Container
    Hardware: Virtual
    Hostname: mail.example.tld
    192.168.1.3
    Type: Container
    Hardware: Virtual
    Hardware: Virtual
    Hostname: mail1.example.tld ( One extra Mail Server)
    192.168.1.4
    Type: Container
    Hardware: Virtual
    Hostname: ns1.example.tld
    192.168.1.5
    Type: Container
    Hardware: Virtual
    Hostname: ns2.example.tld
    192.168.1.6

    my "resolv.conf" looks like as under;

    vi /etc/resolv.conf

    search example.tld
    nameserver 192.168.1.5 # ns1.example.tld
    nameserver 192.168.1.6 # ns2.example.tld
    nameserver 8.8.8.8 # google Public DNS

    vi /etc/hosts looks as under

    127.0.0.1 localhost.localdomain localhost
    192.168.0.100 server1.example.com server1
    192.168.1.5 ns1.example.tld
    192.168.1.6 ns2.example.tld

    Should I make /etc/hosts for 2nd server to work under same ns1 & ns2 as under?;

    vi /etc/hosts (Server 2 which to be added to same network)

    127.0.0.1 localhost.localdomain localhost
    192.168.0.200 server2.example.com server2
    192.168.1.5 ns1.example.tld
    192.168.1.6 ns2.example.tld


    Thanks & regards,

    Abin
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Just add the additional servers in the same way that you used to add the existing ones. You can add new servers at any time to a ispconfig master, just ensure that the hostnames of the new servers are resolvable at install time by either adding them to the hosts file of the slave and master or by adding them to the namserver that is authoritive for that zone.
     

Share This Page