Forum Moderators: phranque
Welcome to WebmasterWorld!
Assuming you've already got wild-card DNS set up so that all subdomain requests arive at your server, then all you need is a wild-card default server name defined in httpd.conf. You can also add a couple of lines of mod_rewrite code if you want to redirect those subdomain requests rather than letting them remain in the user's address bar (and possibly cause duplicate-content issues with search engine rankings).
A bit more information about your current situation and goals would be helpful in getting good answers...
Jim
I am not aware of wildcard DNS settings. At the risk of asking a question outside the scope of this Apache forum, can you expand on this?
(I *DO* want any subdomains to remain in the user's address bar.)
Once that is done, you need to modify your server configuration (httpd.conf) to tell the server what to do with requests for those subdomains. Again, you can define specific subdomains or just use a wild-card to catch all possible subdomains.
I'll leave it at high-level for now, and we can address your specific questions as they come up.
Jim