Hi, I’m trying to build a social network where you can access public profile with <username>.social.com. I have created paramterized hostname rule in the main config file for this purpose. So my question is do we have to run a script on the server’s cpanel to create a subdomain corresponding to <username>.social.com whenever a user is created.
Now I’ve realized what I’ve been confused of was that I assumed <username>.domain.com will work right away by using Yii parameterized hostname without having to add subdomain to DNS. So I think I’ll run a script that request CPanel to add user’s subdomain every time a user registers.