Creating subdomain on the fly
I saw that there are many web application nowadays that is able to give a subdomain for the user id upon registration.
So if I register as jpartogi on blabla.com, I can get
Thanks.
2 Replies
*.blabla.com. 86400 IN A 123.45.67.89
Everything points to 123.45.67.89. No need to add records for specific subdomains. The rest is up to your webserver. You'll probably need a regex in your virtual host definition, or else use the default virtual host to catch everything.
ServerAliasVirtualDocumentRoot
Lighty can do similar using modsimplevhost