Dedicated Server with more than 1 ip to be used as Name Server as well

Discussion in 'ISPConfig 3 Priority Support' started by abintipl, Jul 19, 2013.

  1. abintipl

    abintipl New Member

    Sir,

    My Question is about using One Dedicated Server with four IPS( or more ) out of which 2 are going to be used as Name Servers without any virtualization (OpenVz or any other)but to adjust vi /etc/network/interfaces & remaining 2 ips are used as one Web server and mail servers or sub-domain.

    I want to set up this server as

    Web Server+Mail+DB - One Nos but with 2 ips, One as website & remaining as virtual ips

    DNS Servers as - 2 Nos ( ns1.mydomain.com & ns2.mydomain.com)

    Is it advice able to make vi /etc/network/interfaces as under;

    auto eth0
    iface eth0 inet static
    address 192.168.0.001
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1

    auto eth0:1

    address 192.168.0.002
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1

    for web server & mail server

    then under DNS zone set Name Servers & other website records to be Set up

    My reference guides are;

    http://www.howtoforge.com/perfect_setup_debian_sarge_p3
    http://www.howtoforge.com/how-to-ru...-secondary-with-ispconfig-3-debian-squeeze-p3

    Please advice

    Thanks

    Abin
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If you have just one server and want to use that as nameserver, then just follow the perfect server guide and assign two ip addresses to eth0 (one is used as ns1 and the oster as ns2). The dns guide is not required as it is for multiserver setups.
     

Share This Page