Home > DNS > Adding WWW suffix to subdomain

Adding WWW suffix to subdomain



Hi there,



I was wondering if people knew how to add the WWW prefix to a subdomain.



I have set up the sub-domain

http://sub.domain.com



Though the people I set the site up for can't get their head around that and have gone off and print business cards and letterheads in the following format



www.sub.domain.com



So solution is to edit the DNS, but Im unsure how as the Windows 2000 DNS server is not letting me create a new host www.subdomain



Any help / pointers in the right direct would be much appreciated.



Cheers,

    
Guest


Quote:
Originally Posted by Phil_work
Hi there,



I was wondering if people knew how to add the WWW prefix to a subdomain.



I have set up the sub-domain

http://sub.domain.com



Though the people I set the site up for can't get their head around that and have gone off and print business cards and letterheads in the following format



www.sub.domain.com



So solution is to edit the DNS, but Im unsure how as the Windows 2000 DNS server is not letting me create a new host www.subdomain



Any help / pointers in the right direct would be much appreciated.



Cheers,




How are you trying to create www.subdomain.domain.com within windows 2000 DNS? And is it showing an error when you try?

Was this answer helpful ? Yes No   
Guest


Thanks for replying to the thread, yeah Im trying to create

www.subdomain.domain.com.au



In the DNS Zone file.



I have the following



www (cname)



but when I trying and create a new cname www.subdomain I can not put the . in there..



I have tried editing the Host Header file in IIS To be www.subdomain.domain.com.au but to no avail either...

Was this answer helpful ? Yes No   
Guest


Quote:
Originally Posted by Phil_work
Thanks for replying to the thread, yeah Im trying to create

www.subdomain.domain.com.au



In the DNS Zone file.



I have the following



www (cname)



but when I trying and create a new cname www.subdomain I can not put the . in there..



I have tried editing the Host Header file in IIS To be www.subdomain.domain.com.au but to no avail either...




Try creating another A record pointing the IP address to www.subdomain.domain.com.au

Was this answer helpful ? Yes No   
Guest


Quote:
Originally Posted by hiker
Try creating another A record pointing the IP address to www.subdomain.domain.com.au




Sorry for the long delay.



In my DNS file I have



www.subdomain A webhost.myserver.com.au



What should the DNS file look like? Should the value on the right of the A record be a IP address or server name as above?



Should I be using an A record should I be using a CNAME?

Was this answer helpful ? Yes No   
Guest


Quote:
Originally Posted by Phil_work
Sorry for the long delay.



In my DNS file I have



www.subdomain A webhost.myserver.com.au



What should the DNS file look like? Should the value on the right of the A record be a IP address or server name as above?



Should I be using an A record should I be using a CNAME?




Using an A record is fine... make it look like:



www.sub.domain.com IN A xxx.xxx.xxx.xxx



(Where xxx is the IP address of your server.)

Was this answer helpful ? Yes No   
Guest


Quote:
Originally Posted by hiker
Using an A record is fine... make it look like:



www.sub.domain.com IN A xxx.xxx.xxx.xxx



(Where xxx is the IP address of your server.)




I have update the zone file.. When I open the DNS manager, I do not see any of the changes I have made.. Should the above work for Windows 2000 DNS??



Its driving me crazy

Was this answer helpful ? Yes No   
Guest


Quote:
Originally Posted by Phil_work
I have update the zone file.. When I open the DNS manager, I do not see any of the changes I have made.. Should the above work for Windows 2000 DNS??



Its driving me crazy




Let me see what the rest of your zone file looks like.

Was this answer helpful ? Yes No   
Guest


Quote:
Originally Posted by hiker
Let me see what the rest of your zone file looks like.




Thanks mate




Code:



;
; Zone version: 2007020705
;

@ IN SOA ns1.servername.com.au. admin.servername.com.au. (
2007020705 ; serial number
900 ; refresh
600 ; retry
86400 ; expire
3600 ) ; minimum TTL

;
; Zone NS records
;

@ NS ns1.servername.com.au.
ns1.servername.com.au. A xxx.xxx.xxx.xxx
@ NS ns2.servername.com.au.
ns2.servername.com.au. A xxx.xxx.xxx.xxx

;
; Zone records
;

@ A xxx.xxx.xxx.xxx
@ MX 50 mail.servername.com.au.
bbyf CNAME ns1.servername.com.au.
ftp CNAME ns1.servername.com.au.
www CNAME ns1.servername.com.au.
www.bbyf A xxx.xxx.xxx.xxx



Was this answer helpful ? Yes No   
Guest


Instead of www.bbyf, try the entire domain declaration:

www.bbyf.servername.com.au



(I'm assuming the rest of your DNS is working fine, with the exception of the www.subdomain ?)



And yes, it should work regardless of the OS you're running DNS from.



Also keep in mind that changes don't necessarily propogate right away. And make sure to restart your DNS server after changes.

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2010 by Infoqu. All rights reserved