Create subdomain dynamically


#1

Hi all,

Quick question, I am on shared hosting, and would like to know if it is possible to create subdomains dynamically, ie :

[quote][list]
[]User fills a form to create a profile
[
]Subdomain http://userid.mydomain.com is created
[/list]
Domain can be redirected, mirrored or hosted. All works![/quote]

An alternative I think about is using DNS, so without ever creating all these subdomains:

[quote][list]
[]Visitor types http://.mydomain.com
[]Visitor is redirected to http://www.mydomain.com/
[/list]
Something like the first answer here but I am not familiar enough with DNS to know[/quote]

Thanks,

Simo