I am working on one site, in which i need to create a sub domain for each user.
For e.g, my xite:
And user name is ::
then sub domain for that user will be as below,
I need to know that what is the proper way to do like the above.
I am running on PHP.