Results 1 to 6 of 6
-
05-08-2005, 08:00 PM #1Web Hosting Master
- Join Date
- Sep 2000
- Posts
- 1,015
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,
-
05-08-2005, 09:17 PM #2Retired Moderator
- Join Date
- Mar 2004
- Location
- Singapore
- Posts
- 6,990
This can be done, or you can setup a separate zone record for this sub domain.
-
05-08-2005, 11:58 PM #3Web Hosting Master
- 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,
-
05-09-2005, 06:39 AM #4Junior Guru
- Join Date
- Feb 2005
- Location
- I am air u breathe
- Posts
- 230
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...
-
05-09-2005, 06:50 AM #5Web Hosting Master
- Join Date
- Sep 2000
- Posts
- 1,015
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
-
05-09-2005, 07:03 AM #6Junior Guru
- Join Date
- Feb 2005
- Location
- I am air u breathe
- Posts
- 230
Cheers m8. Hope to help you in future. :-)
Al
It is reliability that counts...