Sub Domains
Barry Margolin
barmar at genuity.net
Wed May 17 23:04:29 UTC 2000
In article <8fv7l0$k3i$1 at newssvr03-int.news.prodigy.com>,
IcEMaN <iceman__01 at hotmail.com> wrote:
>Hey everyone.
>
>I was wondering if anyone knows how to set up a subdomain to point to a
>subdirectory of a server. If say I have a domain xyz.com who's server is
>111.111.111.111 and want sub.xyz.com to point to 111.111.111.111/sub/, how
>would I do that? Is it even possible?
In DNS, make sub.xyz.com an alias:
sub.xyz.com. CNAME xyz.com.
Then configure the virtual hosts in your web server the same way you would
if they were two unrelated domains.
--
Barry Margolin, barmar at genuity.net
Genuity, 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