Testing a multi-site Craft CMS project without a custom domain #39
-
|
Is it possible to test a multi-site Craft CMS project hosted on Craft Cloud without adding a custom domain for initial testing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Yes, but not multi-domain, as you currently only get one preview domain.
As long as you're properly linking to things using There is an open request multiple preview domains here, which would allow you to test multi-site using preview domains. |
Beta Was this translation helpful? Give feedback.
Yes, but not multi-domain, as you currently only get one preview domain.
So, you could set up multi-site with path-based base URLs:
https://my-site-0123abc.preview.craft.cloud/enhttps://my-site-0123abc.preview.craft.cloud/frAs long as you're properly linking to things using
urlfunctions in your templates, when you're ready for domains, you can simply switch over the base URLs to be domain-based.There is an open request multiple preview domains here, which would allow you to test multi-site using preview domains.