how should I implement dynamic subdomains?

Yanni Chiu yanni-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Sat Jul 10 14:42:27 UTC 2010


Thanks. That's a lot easier than what I was thinking about - run a DNS, 
update the DNS records, then refresh.

I think that I will still have to update/refresh the Apache2 
configuration (using a2ensite), since I want to serve each new domain on 
a different portno. These servers would be started/stopped on demand. 
Any suggestions on this aspect? Otherwise, I'm thinking that I need to 
write a few scripts.


ted leslie wrote:
> http://en.wikipedia.org/wiki/Wildcard_DNS_record
> http://allyourtech.com/content/articles/25_11_2005_setting_up_wildcard_subdomains_on_apache.php
> http://www.debian-administration.org/articles/358
> 
> tl
> 
> 
> On Sat, 10 Jul 2010 02:32:37 -0400
> Yanni Chiu <yanni-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org> wrote:
> 
>> On some sites (e.g. foobar.com, for illustrative purposes), you register 
>> a new user (e.g. trythis). A bunch of stuff is done behind the scenes. 
>> Then you end up at a brand new subdomain called trythis.foobar.com
>>
>> I want to implement something like this on a Ubuntu server with Apache2. 
>> Does anyone have any pointers on how to go about doing it?
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list