Jeff Rauenhorst wrote:

> > > This is a question pertaining to Apache so I hope no one minds...I think
> > > it's kinda relevant to the group but who knows.
> > > Anyways, I was wondering if there is a way in Apache (1.3.4) to setup
> > > users so they can access their webpages via the url: user.foo.com.  I
> > > can make the cname in the DNS tables and such, but I want to be able to
> > > access user.foo.com instead of www.foo.com/~user/ or any other
> > > directory.  I am familiar with virual hosts, but I have only one IP
> > > address available to me so if anyone can shed some light on this I'd
> > > really appreciate it.  Thanks...
> > 
> >     <VirtualHost user.foo.com>
> >     DocumentRoot /home/user
> >     </VirtualHost>
> 
> If I add 
> NameVirtualHost my.ip
> this works.  My question is this: If I want to add a host name on the the
> beginning of my computer name, do I need to add a DNS CNAME or equivilant.
> 
> I.e. my computer name is ws3.some.domain and want people to be able to go
> to new.ws3.some.domain.  Can I do that strictly with virtual hosts?

You have to add the appropriate DNS entries, although a wildcarded DNS
entry may work, e.g.

        *.ws3   IN      A       x.x.x.x

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to