Skip to content

Testing a multi-site Craft CMS project without a custom domain #39

Closed Answered by timkelty
jamesmacwhite asked this question in Q&A
Discussion options

You must be logged in to vote

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/en
  • https://my-site-0123abc.preview.craft.cloud/fr

As long as you're properly linking to things using url functions 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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jamesmacwhite
Comment options

Answer selected by timkelty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants