Mapping a domain to a subdirectory?

Joseph S D Yao jsdy at cospo.osis.gov
Wed Oct 6 17:07:06 UTC 1999


> Is it possible to map a domain name to a subdirectory on another server?
> For example, I have a customer who would like to register www.foo.com and
> have it pointed to www.bar.com/~username
> 
> Can this be done?  I was always under the impression that a CNAME, for
> example, can only point to another SERVER, not to a specific directory.
> 
> Any help you can offer would be appreciated.
> 
> Eric Longman

As anyone doing a search of the archives would find may times, you are
right and he is not.  However [also in the archives], there are ways
that Apache can cue on the incoming name to go to different directories.

--
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list