Possible Duplicate:
Create subdomain upon user registration
Suppose I have a site, and I wish to give a sub-domain for each registered users.
Like my site, http://site.com/.
Ve test-user sitemde kayıtlı bir kullanıcı, ve site bu kullanıcı için bir alt etki alanı yapmak istiyor.
Gibi http://test-user.site.com.
Gibi http://test-user1.site.com test user1 için.
I hope you understood the requirement. How can I create a sub-domain using my sites back-end or dynamically while registering?