LUYA CMS Multiple Website Domains and Sub-Domains #2138
Unanswered
nadar
asked this question in
Questions & Problems
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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