Subdomain forwarding

Barry Margolin barmar at bbnplanet.com
Mon Mar 6 06:48:52 UTC 2000


In article <38C16189.507CD79B at gmx.de>, hpd  <hpd_ at gmx.de> wrote:
>how can i set up the DNS of a.b.c.de to have the domain
>    hpd.cx
>and redirected to my computer
>    xyzzy.a.b.c.de
>however, i want to use "http://hpd.cx", but i have to use "http://www.hpd.cx" to
>receive my pages.
>
>so, can i set up a alias like
>    hpd.cx.  CNAME  xyzzy.a.b.c.de ??

No, if you want to redirect the zone name itself, you have to use an A
record:

hpd.cx. A  <address of xyzzy.a.b.c.de>

>i haven't set up a virtual host hpd.cx in the domain a.b.c.de on the xyzzy host.
>now we have setup an alias to let it work with only www.hpd.cx.

You'll also have to do that.

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list