Cake Enviroment

Is it possible to use different to domain in one core.
My situation is like this.

vhost:

  1. servername: local.videorental
  2. servername: local.otherrental

project_name:videorental

is this possible to set up this kind of environment. without making another project?

I’d look at using prefix routing/controllers to so you group your logic sensibly - then having some rewrite rules that map each domain to a prefix in your application

i.e.
local.videorental >> mydomain/video
local.otherrental >> mydomain/other