How to host Subdomain on a different server???

Discussion in 'Site & Server Administration' started by keem1201, Jul 14, 2008.

  1. #1
    Well,

    i m gonna start a big network of sites. ofCourse, i cant host all on same server.

    So here is what i m trying to do :

    say domain name is domain.com and domain.com is hosted on serverA.
    so nameservers of domain.com wil be ns.serverA.com

    Now, I wanna host abcd.domain.com on a different server..say serverB.

    How can i do this? is it cname or A name or something??

    can some1 give me Proper steps? i would be really greatful :)

    Some1 please help me! :)

    Thanks!
     
    keem1201, Jul 14, 2008 IP
  2. Altfuns

    Altfuns Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    Hello..

    What you have to do is to add the subdomains as A entries. Let's say the IP address of serverb is 10.11.12.13

    So the entry should be something like:

    abcd 14400 IN A 10.11.12.13
    Code (markup):
    You could also use cname and the serverB hostname, but that would require an extra query for the IP address of serverB and it could take some extra miliseconds.

    Then, the webserver at serveB should answer as a virtual host to: abcd.domain.com
     
    Altfuns, Jul 14, 2008 IP