I have a big website in 6 languages. Reachable at bar.com Now I want to create a Landingpage for a subdomain. So I created a new Site in Craft named "landingpage" and set the basic url to foo.bar.com I connected the subdomain to the web folder because the docs are saying "Craft will automatically detect which site the browser is requesting".

I created a new test single section with the slug landingpage. and a template with {siteUrl}. If I make this section active for the main site this template works without problems but if I open foo.bar.com/landingpage I see a blank page. What did I wrong? foo.bar.com shows the index file which is not active for this site but this is another problem. First, the section should work. Any tutorials I can found based mostly on Craft CMS 2.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.