Hey blug'ers, I have a question for you. Does anyone have experience setting up sub-domains in Apache? Here's what I would like to happen.
Let's say with my domain wsams.org I would like to have say 3 sub-domains -- say linux, gentoo and mac.
I would like to have the setup where my home directory contains as many directories as I want, but as soon as I put the directory html inside one of those directories, that original directory becames a sub-domain.
The idea sould be to have
/home/wsams/linux/html ---> http://linux.wsams.org
/home/wsams/gentoo/html ---> http://gentoo.wsams.org
/home/wsams/mac/html ---> http://mac.wsams.org
Also, the server should not have to be restarted. So say I create the directory
/home/wsams/foobar/html
I would have the sub-domain http://foobar.wsams.org
Does anyone know how to set this up easily. I just can't figure out what to search for.
--
Weldon Sams
wsams@indiana.edu
Tuesday, May 8, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment