Results 1 to 6 of 6
  1. #1

    DNS Zone question for sub domains

    Hi:
    I have a subdomain sub.mysite.com that's hosted on a different server from mysite.com, using a A record redirect in the DNS Zone file in WHM:

    sub | A Record | destination_IP

    The problem is, while:

    sub.mysite.com

    resolves, if I type:

    www.sub.mysite.com

    it doesn't. My question is, do I need to also add:

    www.sub | A Record | destination_IP

    to the DNS Zone file? This is never mentioned in tutorials, so I'm not sure I'm on the right path here.

    Thanks,

  2. #2
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    6,984
    This can be done, or you can setup a separate zone record for this sub domain.

  3. #3
    Join Date
    Aug 2003
    Posts
    833

    Re: DNS Zone question for sub domains

    Originally posted by GeorgeC
    if I type:

    www.sub.mysite.com

    it doesn't. My question is, do I need to also add:

    www.sub | A Record | destination_IP

    to the DNS Zone file? This is never mentioned in tutorials, so I'm not sure I'm on the right path here.

    Thanks,
    Yes

  4. #4
    Join Date
    Feb 2005
    Location
    I am air u breathe
    Posts
    229

    Thumbs up

    hey..

    Just try adding the www.subdomain entry in the zone file and also do update the www alias in your apache configuration that will do .

    Al
    It is reliability that counts...
    Few tips

  5. #5
    Thanks guys. I wonder why all the tutorials I've read never mentions the necessity of adding "www.subdomain" as a A record as well, instead of just "subdomain." For example, this tutorial: http://www.webhostgear.com/12.html

  6. #6
    Join Date
    Feb 2005
    Location
    I am air u breathe
    Posts
    229

    Thumbs up

    Cheers m8. Hope to help you in future. :-)

    Al
    It is reliability that counts...
    Few tips

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •