Forum Moderators: phranque

Message Too Old, No Replies

Getting Subdomains to Point to Subdirectories

         

tidalwav1

12:09 am on Jul 5, 2006 (gmt 0)

10+ Year Member



Hi, all,

I'm trying to do something exactly the same as this person did:
[sitepoint.com...]

I'm running Apache 2.2.2 on Windows, have my DNS set up correctly with a CNAME redirect from *.mydomain.net to mydomain.net, and I want to set everything up in a way such that subdirectories are served from their subdomains--so, for example, blah.mydomain.net will serve everything in the htdocs\blah directory.

I've been told this is called mass vhosting, and have looked at this page:
[httpd.apache.org...]
but it only confused me more.

What would I have to type to accomplish what I want, and where in my httpd.conf file would it have to go?

Thanks very much in advance.

tidalwav1

1:02 am on Jul 6, 2006 (gmt 0)

10+ Year Member



I actually found a solution at
[captain.at...]

It seems to work flawlessly!

Thanks anyway!