HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   ISPConfig 3 Priority Support (http://www.howtoforge.com/forums/forumdisplay.php?f=35)
-   -   how to add more servers on same ns (http://www.howtoforge.com/forums/showthread.php?t=62038)

abintipl 31st May 2013 15:03

how to add more servers on same ns
 
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

till 3rd June 2013 10:28

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.


All times are GMT +2. The time now is 15:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.