Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2002
    Posts
    97

    * linking two servers with one domain

    Hi

    I just got a new second box and want to make boths box's have the same domain name with different host names and either the same dns or different dns. here is what I have and what I did


    Server 1 :
    Host Name: one.mydomin.com
    IP: 1.1.1.1
    DNS: ns1.mydomain.com 11.11.11.11, ns2.mydomain.com 22.22.22.22

    Server 2 :

    Host name: two.mydomain.com
    IP: 2.2.2.2
    DNS: ns3.mydomain.com 33.33.33.33, ns4.mydomain.com 44.44.44.44

    - mydomain.com is of course already regsitered and under it I registered all 4 DNS servers names and IP's

    - mydomain.com is pointing to ns1.ev1servers.net and ns2.ev1servers.net

    - Server 1 is working perfectly and all the accounts on it are pointing to ns1 and ns2

    here are the zone files in server 1 :

    mydomain.com.db :

    Code:
    ; Modified by Web Host Manager
    ; Zone File for mydomain.com
    $TTL 14400
    @       14440   IN      SOA     ns1.mydomain.com.     myemail.hotmail.com.  ( 2005052500
                                            14400
                                            7200
                                            3600000
                                            86400
                                            )
    
    mydomain.com. 14400   IN      NS      ns1.mydomain.com.
    mydomain.com. 14400   IN      NS      ns2.mydomain.com.
    
    mydomain.com. 14400   IN      A       1.1.1.1
    
    localhost.mydomain.com.       14400   IN      A       127.0.0.1
    
    mydomain.com. 14400   IN      MX      0       mydomain.com.
    
    mail    14400   IN      CNAME   mydomain.com.
    www     14400   IN      CNAME   mydomain.com.
    ftp     14400   IN      CNAME   mydomain.com.
    ns1     14400   IN      A       11.11.11.11
    ns2     14400   IN      A       22.22.22.22
    one   14400   IN      A       1.1.1.1
    ns4 14400 IN A  44.44.44.44
    ns3 14400 IN A  33.33.33.33
    two 14400 IN A  2.2.2.2

    And the one.mydomain.com

    Code:
    ; Modified by Web Host Manager
    ; Zone File for one.mydomain.com
    @       14400   IN      SOA     ns1.mydomain.com.     root.ns.mydomain.com. (
                                            2004012701
                                            28800
                                            7200
                                            3600000
                                            86400
                                            )
    
    one.mydomain.com.   14400   IN      NS      ns1.mydomain.com.
    one.mydomain.com.   14400   IN      NS      ns2.mydomain.com.
    one.mydomain.com.   14400   IN      A       1.1.1.1
    
    localhost.one.mydomain.com. 14400   IN      A       127.0.0.1
    
    one.mydomain.com.   14400   IN      MX      0       one.mydomain.com.

    And two.mydomain.com.db :

    Code:
    ; cPanel 10.1.0
    ; Zone file for two.mydomain.com
    $TTL 14400
    @      IN      SOA     ns1.mydomain.com. myemail.hotmail.com. (
                    2005052201      ; serial, todays date+todays
                    14400           ; refresh, seconds
                    7200            ; retry, seconds
                    3600000         ; expire, seconds
                    86400 )         ; minimum, seconds
    
    two.mydomain.com. IN NS ns1.mydomain.com.
    two.mydomain.com. IN NS ns2.mydomain.com.
    
    two.mydomain.com. IN A 2.2.2.2
    
    localhost.two.mydomain.com. IN A 127.0.0.1
    
    two.mydomain.com. IN MX 0 two.mydomain.com.
    
    mail IN CNAME two.mydomain.com.
    www IN CNAME two.mydomain.com.
    ftp IN CNAME two.mydomain.com.
    - in two.mydomain.com there is a zone file similar to the mydomain.com.db on server 1 and with the same name..


    - I asked for all dns servers to be added into the ev1 network
    - more than 72hrs has been passed

    - What did I missed???


    Best wishes

  2. #2
    Join Date
    Apr 2004
    Posts
    500
    im no expert but It could be the entry in /etc/named.conf

  3. #3
    Join Date
    Mar 2002
    Posts
    97
    Which entry??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •