|
Dynamic Subdomain Generation
Date: 06/04/05
(Apache) Keywords: css, xml, web, apache
I've been looking around, trying to find information about how I should go about setting up a system for dynamic subdomain generation. Here's the way I currently have to create a new subdomain: - Add the Virtual Host to httpd.conf
- Request that the subdomain be added to my Web host's DNS (I'm using a VDS)
- Wait for the changes to propagate
- Hope that what I asked for is what I really wanted
- GOTO STEP 1 As Needed
I feel that I should be able to create subdomains (img.cparker15.com, xml.cparker15.com, css.cparker15.com, dtd.cparker15.com, etc.) on the fly. Is there a way to accomplish this with Apache and/or an Apache module?
I've heard things about mod_rewrite, but I don't know where to begin, if mod_rewrite is even a viable solution.
Source: http://www.livejournal.com/community/apache/20897.html
|