I would like to know how to dynamically create sub-domains in Coldfusion. What i'm looking to do is build out personalized URLs based on a database.
Then if someone types variable1.mydomain.com it will present that user specific information related to that sub-domain. My guess is to analyze the domain in CF and parse the text before .mydomain.com and then set the variable. Obviously in my DNS records I will have *.mydomain.com point to the website's IP.
Is this the right way to go about this? Any other thoughts? Thanks!