I'm developing a multi language site and trying to configue it for staging and live enviroments. I currently have each root node maped to a local subdomain. My local subdomains look like this...
uk.mysite.local
us.mysite.local
es.mysite.local
This works fine. My problem is staging and production environments have different domains.
Stage will be something like...
uk.stage.mysite.com
us.stage.mysite.com
es.stage.mysite.com
and production will be...
uk.mysite.com
us.mysite.com
es.mysite.com
My question is, where are the 'manage hostnames' values stored? I've had a look through the config files but can't find them. I can configure my deployment script to deploy different files based on environment, so if I can track down the values, I should be able to solve my problem.
Multiple language site in multiple environments
Hi,
I'm developing a multi language site and trying to configue it for staging and live enviroments. I currently have each root node maped to a local subdomain. My local subdomains look like this...
uk.mysite.local
us.mysite.local
es.mysite.local
This works fine. My problem is staging and production environments have different domains.
Stage will be something like...
uk.stage.mysite.com
us.stage.mysite.com
es.stage.mysite.com
and production will be...
uk.mysite.com
us.mysite.com
es.mysite.com
My question is, where are the 'manage hostnames' values stored? I've had a look through the config files but can't find them. I can configure my deployment script to deploy different files based on environment, so if I can track down the values, I should be able to solve my problem.
Thanks,
David.
The domain name is stored in the db(umbracoDomains).
Have you try to add two domain name on same node? Such as: "uk.stage.mysite.com" and "uk.mysite.com" for Node1
Thanks Owen. I didn't realise I could add multiple domain names. It was really obvious once you pointed it out :D
is working on a reply...