Create a sub domain for each user

Posted by Avinash on Server Fault See other posts from Server Fault or by Avinash
Published on 2010-01-11T13:15:48Z Indexed on 2010/04/10 14:23 UTC
Read the original article Hit count: 491

Filed under:
|
|
|

I am working on one site, in which i need to create a sub domain for each user.

For e.g, my xite:

www.demo.com

And user name is :: Mark then sub domain for that user will be as below,

mark.demo.com

I need to know that what is the proper way to do like the above.

I am running on PHP.

Thanks,
Avinash

© Server Fault or respective owner

Related posts about php

Related posts about subdomain