Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Subdomain a sub domain


On Thu, 9 Nov 2000, Kevin Waterson wrote:

> How can I subdomain a sub domain

Easily, as long as you don't want to deligate it but run it of the same
server.

> curently I have http://sub.domain.com.au
>
> and I wish to have http://www.sub.domain.com.au
>

www.sub		IN CNAME	othername
mail.sub	IN MX		10 mail

etc. Just place the prefix in front of sub with a . (dot).

> In /var/named/hosts I am trying something like
> www  A  203.1.1.1
> sub  A  203.1.1.1
> www  CNAME sub

change the last one to

www.sub	IN CNAME	sub

Hope that helps.

Rodos