how to create subdomain dinamically in codeigniter - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: how to create subdomain dinamically in codeigniter (/showthread.php?tid=5472) |
how to create subdomain dinamically in codeigniter - El Forum - 01-22-2008 [eluser]Sawariya[/eluser] hai friends i want to create subdomains for all registered users ... how it possible.. anybody have idea.. please help me ------------------ how to create subdomain dinamically in codeigniter - El Forum - 01-23-2008 [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. |