CodeIgniter Forums
Creating Subdomains with codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Creating Subdomains with codeigniter (/showthread.php?tid=31483)



Creating Subdomains with codeigniter - El Forum - 06-21-2010

[eluser]Unknown[/eluser]
Hi all,

I am new to this forum, I am using codeigniter to build a CMS type application. I am having a proiblem in virtually craeting subdomain in codeigniter, if any body knows it please help me out.


eg.
The exact url is
http://www.XYZ.com/clients/dol1/parish/web/view_parish/St._Peters_Cathedral_Basilica/2/1

I want to write it like
http://St._Peters_Cathedral_Basilica.XYZ.com/clients/dol1/parish/web/view_parish/2/1

here the St._Peters_Cathedral_Basilica is passing to the controller as a parameter to the function.

Please help me.


Creating Subdomains with codeigniter - El Forum - 06-21-2010

[eluser]danmontgomery[/eluser]
http://www.google.com/search?q=wildcard+dns