Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David Craig 2 posts 22 karma points
    Mar 21, 2012 @ 03:11
    David Craig
    0

    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.

  • Owen 123 posts 246 karma points
    Mar 21, 2012 @ 03:39
    Owen
    0

    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

  • David Craig 2 posts 22 karma points
    Mar 21, 2012 @ 04:07
    David Craig
    0

    Thanks Owen. I didn't realise I could add multiple domain names. It was really obvious once you pointed it out :D

Please Sign in or register to post replies

Write your reply to:

Draft