Pointing a HostName to different Server.

Discussion in 'Site & Server Administration' started by riteshsanap, Feb 8, 2012.

  1. #1
    Hello, I m using 2 Servers first one is VPS and other one is dedicated,

    On the First VPS i m using cPanel and on the Second DirectAdmin,

    as the first Server is my Primary server, i have my NS for my Domain XXXX(instead of actual domain) pointed their on first server,

    So i created a host name on other server i.e. Dedicated server running DirectAdmin.

    So now how can I point that server2.xxx.com to the second server, what all DNS records i should create, and also i how should i point NS to the second Server,

    i already have 5NS pointed to first server, and i create 2 other NS pointing to new Server, but when i try to ping those it give me an error :

    Ping request could not find host 
    Code (markup):
     
    riteshsanap, Feb 8, 2012 IP
  2. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #2
    You just have to create an A name record that points the hostname.maindomain.tld to the second server's IP.
     
    SolidShellSecurity, Feb 8, 2012 IP
  3. kingwinbond

    kingwinbond Greenhorn

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    To resolve the ping Problem of the Name Server Ns1 and Ns2 of the second server you have to use some other domain name after ns1. and ns2. as the domain you are already using for the first Server. Or You can Just set the A record to point to the second server.
     
    kingwinbond, Feb 17, 2012 IP