1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to add dns settings for my subdomain?

Discussion in 'Site & Server Administration' started by ronakrocks28, Jan 10, 2013.

  1. #1
    I registered a domain name from godaddy to host my website. I have added dns settings to point my domain to my host and everything is working fine. Now I want to add dns settings for my subdomain, and have no clue how to go about that.
    The dns for my subdomain is different than my actual domain dns. I can find no option to add dns to the subdomain separately.
    So suppose dns for
    www.mydomain.com is 27.156.62.3
    Then I want the dns for
    www.sub.mydomain.com to be 27.162.57.3
    Please help how to go about it.
    Can it be done by some php code or an .htaaccess file? If yes how!!
    Plsss help!!
    Please avoid third party solutions like freedns.afraid.org!!!

    Thanks in advance.....
     
    Solved! View solution.
    ronakrocks28, Jan 10, 2013 IP
  2. #2
    if you are using godaddy's dns servers as authoritative ones for your domain, then you need to use their dns manager to achieve this. the following information may be useful to you.

    just set-up your subdomain as an A record and map it to 27.162.57.3

    these things are done in the dns level, not by using php or some htaccess code. if you were running your own dns server, mapping a subdomain to a different ip is as simple as adding the following dns records to your zone file:

    sub.mydomain.com. 14400 IN A 27.162.57.3
    www.sub.mydomain.com. 14400 IN A 27.162.57.3
    Code (markup):
     
    RoseHosting, Jan 10, 2013 IP
  3. ronakrocks28

    ronakrocks28 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thankss RoseHosting........
    Now ill better start my own dns server
    Just one more question, is therir any legit free dns service.
    I mean does freedns etc delete your account once you start getting high traffic?
    If not then I find no problem in using their services!!
    Or is their any other free sevrce that can be trusted upon?
     
    ronakrocks28, Jan 11, 2013 IP
  4. ronakrocks28

    ronakrocks28 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thankss RoseHosting........
    Now ill better start my own dns server
    Just one more question, is therir any legit free dns service.
    I mean does freedns etc delete your account once you start getting high traffic?
    If not then I find no problem in using their services!!
    Or is their any other free sevrce that can be trusted upon?
     
    ronakrocks28, Jan 11, 2013 IP
  5. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #5
    If you choose godaddy as your host, be advised that you may need to upgrade to do this.
    You must have the zoneedit feature to take this action. You currently only have the simplezoneedit feature.
    will likely pop up if you donĀ“t have the complete package.
     
    Blogmaster, Dec 31, 2014 IP
  6. Prashant J

    Prashant J Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #6
    If your hosting provider provides you control panel you can do it from the Control panel or you can use the DNS server on your webserver to add add the A records of your subdomain
     
    Prashant J, Jan 1, 2015 IP