You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Q:
how can i separate the frontend views in a different domain from the backend, as i need to have one cms backend and many pages with different domains?
A:
Hi, in order to find a solution for that questions i think you need to make your example more explicit.
Do you want to have different pages for different domains? Or are those different domains but the same cms content (like alias domains)?
Can you share the same database among those domains?
With backend i assume you mean the admin interface?
There is currently a huge PR pending from (@boehsermoe) regarding "multiple websites support" (which means, multiple domains which point to the same webserver), so if this is what you are looking for, its in the making luyadev/luya-module-cms#274
Q:
1- Do you want to have different pages for different domains? Or are those different domains but the same cms content (like alias domains)?
answer: same cms content (like alias domains).
2- Can you share the same database among those domains?
answer: yes the same database
3- With backend i assume you mean the admin interface?
answer: yes luya admin interface
This would be the behavior for alias domains. But when you like to separate the content from a domain, then you have to wait until the above mentioned PR is merged :slight_smile:
a.example.com => display content A
b.example.com => display content B
Does this answer your questions? Otherwise you have to explain a little better what you like to do, maybe with concrete domains.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Q:
how can i separate the frontend views in a different domain from the backend, as i need to have one cms backend and many pages with different domains?
A:
Hi, in order to find a solution for that questions i think you need to make your example more explicit.
backend
i assume you mean the admin interface?There is currently a huge PR pending from (@boehsermoe) regarding "multiple websites support" (which means, multiple domains which point to the same webserver), so if this is what you are looking for, its in the making luyadev/luya-module-cms#274
Q:
1- Do you want to have different pages for different domains? Or are those different domains but the same cms content (like alias domains)?
answer: same cms content (like alias domains).
2- Can you share the same database among those domains?
answer: yes the same database
3- With backend i assume you mean the admin interface?
answer: yes luya admin interface
A:
So you would like to have:
Then you can just use https://luya.io/api/luya-web-Composition#$hostInfoMapping-detail
This would be the behavior for alias domains. But when you like to separate the content from a domain, then you have to wait until the above mentioned PR is merged :slight_smile:
Does this answer your questions? Otherwise you have to explain a little better what you like to do, maybe with concrete domains.
Beta Was this translation helpful? Give feedback.
All reactions