View Single Post
  #1  
Old 31st May 2013, 15:03
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 Posts
Default 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
Reply With Quote
Sponsored Links