how to create subdomain dinamically in codeigniter

hai friends

i want to create subdomains for all registered users ... how it possible.. anybody have idea..
please help me


[eluser]Ahmed Nuaman[/eluser]
Yes it is, it does require some server configuration though:

- You need to set up your DNS to allow *.yourdomain.TLD
- You need to then think about how you're going to route people, for example I have:
URL -> Is it a subdomain?
Yes: Ok, figure out the subdomain, is there a user?
Yes: Ok, route to that user.

And that's pretty much it.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.