In need of some help.
I'm trying to get Umbraco 7.15.3 to use multiple websites.
My Node structure is:
Web
-- Site 1 Home
-- Site 2 Home
I've changed the Culture and Hostnames for each node to be
site1.local
site2.local
I've added in a couple more domains on each of these nodes, as I want to send it to staging so the customer can view it.
So I've added 2 subdomains :
test1.domainname.com
test2.domainname.com
[domainname] being the domain I'm testing on.
Locally this works fine. I can navigate to each website. site1.local and site2.local
As soon as I put this on a production server, it get:
Page not found
No template exists to render the document at url '/'.
In addition, no template exists to render the custom 404.
This page can be replaced with a custom 404. Check the documentation for "custom 404".
It can't find the template? It workes locally, on the staging site i can see the Doctype, the Template in the back office?
Are there extra config settings i need to setup?
Multiple Website nodes on Umbraco 7.15.3
Hi
In need of some help. I'm trying to get Umbraco 7.15.3 to use multiple websites.
My Node structure is:
I've changed the Culture and Hostnames for each node to be site1.local site2.local
I've added in a couple more domains on each of these nodes, as I want to send it to staging so the customer can view it.
[domainname] being the domain I'm testing on.
Locally this works fine. I can navigate to each website. site1.local and site2.local
As soon as I put this on a production server, it get:
It can't find the template? It workes locally, on the staging site i can see the Doctype, the Template in the back office? Are there extra config settings i need to setup?
I have used this tutorial for putting the Views into Folders, wondering if this is the problem? https://github.com/kgiszewski/LearnUmbraco7/blob/master/Chapter%2012%20-%20Multisite%20Configuration/02%20-%20Using%20Sub-folders%20for%20Templates.md
However, I don't understand that this works fine locally but not when I point an external domain to it?
Can anyone steer me in the right direction?
Ok figured this out
The problem was my stupidity and Cloudflare!
Culture and Hostnames need to be http:// and not https:// as Cloudflare serves up the HTTPS. On the server, it's just plain old http.
therefore adding in http:// versions of the 2 domains means it resolved and is now working correctly in staging.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.