How to Replace Category to Subdomain with PHP, HTACCESS?

Hai All, this is my problem, I have link http://localhost/economy <– Category from database… How to Replace Category to Subdomain ??

thank you…

You can find the answer - with examples and details - [right here](http://www.google.com/?q=dynamically create subdomains).