CodeIgniter Forums
Multiple Domain on the same controller ( but with differents parameters) - 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: Multiple Domain on the same controller ( but with differents parameters) (/showthread.php?tid=49643)



Multiple Domain on the same controller ( but with differents parameters) - El Forum - 02-27-2012

[eluser]Unknown[/eluser]
Hello everybody,

I developed an application that allows users to create a web page.
The created pages can be accessed with the following url: www.mywebsite.com/pageViewer/{param}

I want to provide the possibility for users to use their own domain name to access their page.

example:

www.mywebsite.com/pageViewer/prmXXX accessible via www.domain1.com
www.mywebsite.com/pageViewer/prmYYY accessible via www.domain2.com

ect ..

There is there a simple way to do this?

Thank you in advance for your help and your answers.