Please help me out on a simple DNS question

Discussion in 'Site & Server Administration' started by Kendothpro, May 5, 2006.

  1. #1
    I just purchased a Dedicated, and I was used to Shared Hosting

    On shared hosting I could point my domain's nameservers to something like ns1.hostgator.com or ns1.site5.com

    Now on my dedicated server I only have an IP, and all the sites on my server point to ns1.sampledomain.com (which is a domain I own, not the company's)

    The question is, how do I actually point sampledomain.com to my server's IP? On godaddy I can't just enter an IP for nameservers, it wants a hostname...I really don't understand

    All my nameservers are supposed to be handled by ns1.sampledomain.com, which should be hosted on my server, yet I have no way to point sampledomain.com to my server!

    I could use a free dns service like zoneedit but they have traffic limits and I surely didn't purchase a dedicated to go begging for some dns pointers!

    What's the solution here? Thanks in advance for your help!
     
    Kendothpro, May 5, 2006 IP
  2. MatthewN

    MatthewN Well-Known Member

    Messages:
    859
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    195
    #2
    What OS is the server? Which ever OS it is you can install a DNS client if not already there and configure that to do the job. No real need to outsource it somewhere else. :)

    If you let us know what OS you are running then someone will be able to provide instructions. DNS is simple to do and should only take 5 - 10 minutes to get up and running.
     
    MatthewN, May 5, 2006 IP
  3. spainexpat

    spainexpat Peon

    Messages:
    125
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hmm, I don't know off hand, but most hosting providers have tutorials for things like this, not to mention support services. Have you tried asking them?
     
    spainexpat, May 5, 2006 IP
  4. Kendothpro

    Kendothpro Well-Known Member

    Messages:
    574
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    120
    #4
    The server is running centOS 4 with a directadmin control panel!
    The real problem doesn't reside in editing the zone files (via bind for instance), it lies in the fact that every domain on my servers has nameservers pointing to one of my domains named ilikebeer.com (i made up that name), but ilikebeer.com points to its own nameservers (ns1.ilikebeer.com and ns2.ilikebeer.com)! it should point somewhere else (namely, my web server) but as my webserver only comes with an IP (and not a hostname) I can't enter it as a nameserver

    I hope that made sense!
     
    Kendothpro, May 5, 2006 IP
  5. MatthewN

    MatthewN Well-Known Member

    Messages:
    859
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    195
    #5
    It sounds like you just need to create a couple of name server host records at your ISP. On most domain control panels there is an option for this (not to be confused with setting the name servers).

    You add them in the format of ns1.domain.com - xx.xx.xx.xx.
     
    MatthewN, May 5, 2006 IP
  6. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ask your hosting to put the line below on their dns.

    ns1.domainnameyouhost.com. IN A ip.dedicated.server

    then thats it. A dedicated server is carried out by their hosting services because it is under their network to let it pass through and be resolve.

    Just declare in godaddy.com your hosting's DNS Server.

    Then that's it

    Hope it Helps :cool:
     
    theblight, May 5, 2006 IP
  7. Kendothpro

    Kendothpro Well-Known Member

    Messages:
    574
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    120
    #7
    LOL my bad, there actually was an option in godaddy's control panel to enter the ns -> ip records, it was just not very accessible ^^
    Thanks for helping guys!
     
    Kendothpro, May 5, 2006 IP