Repository navigation
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? |
Answered by
timkelty
Oct 26, 2024
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. |
1 reply
Answer selected by
timkelty
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.