Config DNS for hosting

Discussion in 'Web Hosting' started by argothiusz, May 17, 2008.

  1. #1
    How do I config my DSN on dedicated server with WHM so that I can host other people and they can just point their nameservers from their registrar to my site like so?

    ns1.mysite.com
    ns2.mysite.com

    thanks :)
     
    argothiusz, May 17, 2008 IP
    wisdomtool likes this.
  2. Cameron [NetXHosting]

    Cameron [NetXHosting] Peon

    Messages:
    3,710
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you need them to be the main nameservers or extra nameservers?
     
    Cameron [NetXHosting], May 17, 2008 IP
  3. argothiusz

    argothiusz Well-Known Member

    Messages:
    1,500
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    140
    #3
    main nameserver
     
    argothiusz, May 17, 2008 IP
  4. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #4
    I would suggest adding your virtual host entries directly on the server configuration file (httpd.conf) via putty or WinSCP then restart the server and you will see the records withing WHM in the zone file area, from which you can make any further modification.
     
    Trusted Writer, May 17, 2008 IP
  5. Cameron [NetXHosting]

    Cameron [NetXHosting] Peon

    Messages:
    3,710
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Do you have cPanel/WHM?
     
    Cameron [NetXHosting], May 17, 2008 IP
  6. argothiusz

    argothiusz Well-Known Member

    Messages:
    1,500
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    140
    #6
    Yes I do :)
     
    argothiusz, May 18, 2008 IP
  7. Cameron [NetXHosting]

    Cameron [NetXHosting] Peon

    Messages:
    3,710
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    0
    #7
    OK, this is what you do:

    1. Login to your WHM panel
    2. Click the Basic cPanel/WHM Setup link
    3. Scroll down until you see Primary Nameserver. Enter ns1.yourdomain.com and click Assign IP address (write down the IP it gives you) and the Click Add an A entry for this nameserver.
    4. Scroll down to Secondary Nameserver. Enter ns2.yourdomain.com and click Assign IP address (write down the IP it gives you) and the Click Add an A entry for this nameserver.
    5. Go to the bottom of the page and click save.
    6. Register the nameservers with the IP's you have written down at your registrar.

    Done :)
     
    Cameron [NetXHosting], May 18, 2008 IP
    argothiusz likes this.
  8. argothiusz

    argothiusz Well-Known Member

    Messages:
    1,500
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    140
    #8
    Ok, now let say I host an another account. That person just have to go to their domain registrar and enter NS1.MyDomain.com and NS2.MyDomain.com right? (without using the IP)
     
    argothiusz, May 18, 2008 IP
  9. Cameron [NetXHosting]

    Cameron [NetXHosting] Peon

    Messages:
    3,710
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Correct :)
     
    Cameron [NetXHosting], May 18, 2008 IP