We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25803 ☆ A M B ☆
    • 721 Posts
    Hello,

    We've installed xRouting as the domain strategy has changed from each context having their own unique URL such as: http://texas.company.com to http://company.com/texas/houston

    So from a regular domain strategy to using a path based domain.

    We've setup up the Houston contexts with the following example settings (these are not real but they will do for this example):

    http_host: company.com/texas/houston
    base_url: http://company.com/texas/houston/

    But the URL doesn't resolve to the context.

    I couldn't find examples to know if my context settings are correct. What is the correct format for each of these settings for domains like this?

    This question has been answered by rx2. See the first response.

    • discuss.answer
      • 25803 ☆ A M B ☆
      • 721 Posts
      I figured it out.

      http_host is the same as the parent URL, i.e. company.com
      base_url is the path, i.e. /texas/houston/