Hi, I’m setting up a feature on my site that allows users to register themselves. I was thinking of creating a subdomain for each new user (there won’t be that many) automatically during the registration process. I program mainly in PHP. Is there a way to create subdomains other than using the control panel? I would like this to be automated if possible.
My other idea was to create a new directory for each user, so they would have an area at www.example.com/newusername created automatically during registration. I can do that easily, but my client wants to have a subdomain created if possible. Even if subdomains can be created from within a PHP script, will the user have to wait some amount of time before the subdomain is reachable?
Thanks for any insight!