Possible Duplicate:
How to let PHP to create subdomain automatically for each user?
Create Subdomains on the fly with .htaccess (PHP)
Third level domain created by PHP
I have a user database (on LAMP) and I would like to get users able to create their own domain as http://user1.mysite.com
, http://user2.mysite.com
.
How is the best road to do this?