Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

domain mapping in CakePHP

I'm trying to do domain mapping on my site in the fastest possible way so I've searched for PHP plugins that I can possibly use. However, all results are Wordpress-related. I'm using Cakephp 2.4. Is there an available plugin for this that is not WP? If not, how can I make use of the WP plugin to make it work in Cakephp?

[EDIT] For example, if I have a public page on someonessite.com/myname and I want mysite.com/me to redirect or map the former site then I'll have to set something on someonessite.com so that mysite.com/me will display someonessite.com/myname via domain mapping.

[NEW EDIT] So, I want to map mysite.com/me (my own site) to the IP address of someonessite.com/myname (someone else's site that I have account at and where I want to add this php code to)

eg. I will save my own/customized site (mysite.com/me) at someonessite.com and let someonessite.com map my own site to their IP address to display someonessite.com/myname

like image 420
Leah Avatar asked Nov 03 '14 23:11

Leah


1 Answers

You are not very clear on what you want, but at a guess it looks like you need this

You can use that plugin to set up different configs based on what domain is loaded. I use it for that use case also.

like image 108
dogmatic69 Avatar answered Oct 07 '22 09:10

dogmatic69