Copied to clipboard

Flag this post as spam?

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


  • webmonger 130 posts 285 karma points
    Aug 03, 2010 @ 12:26
    webmonger
    0

    Manage hostnames some work some dont

    Hi

    I'm having problems with a site with multiple hostnames linked to nodes.

    Setup:

    umbraco v 4.0.2.1

    IIS6

    SQL Server 2005

    Domains:

    a.example.com - Website

    b.example.com - Mobile site

    c.example.com - Extranet

    Problem:

    So I've got a.example.com up and running perfectly I've added the host name and it picks up all the pages it should do. If I try to navigate to a.example.com/siteb/ i get a 404 as I would expect.

    I've got b.example.com setup and this also works as expected and when i try to access b.example.com/sitec/ i get a 404

    Now this is where the problem is; c.example.com seems to be setup as you would expect when you go to the root page and when i add ?umbDebugShowTrace=true i get the XPath i expect to see "/node [@urlName = "sitec"] | /root/node [@urlName = "sitec"]" although there is no master pages for this location. I tested the XPath using XPath Visualizer Tool and when "/root/node [@urlName = "sitec"]" is called i get a node returned when "/node [@urlName = "sitec"]" is called I get nothing.

    So now I try to view a content node within c.example.com something like c.example.com/section1 and i get a 404 page. I add ?umbDebugShowTrace=true and the XPath returns "/root/node [@urlName = "sitec"]/node [@urlName = "section1"]" Again I test this is XPath Visualizer Tool and it returns the expected node from the XML.

    Directly below the xpath in the trace information is "Just before xPath query (False, '/domainprefixes-are-used-so-i-do-not-work')"

    The hostnames are setup in exactly the same way for all 3 sites, both in Umbraco and in IIS6.

    Does anyone have any idea why c.example.com returns a 404 when the other 2 domains work as expected.

    Cheers
    Jon

  • webmonger 130 posts 285 karma points
    Aug 06, 2010 @ 11:15
    webmonger
    0

    I reconfigured this setup on a different domain name and it's all worked.

    Very odd behaviour.

    Jon

Please Sign in or register to post replies

Write your reply to:

Draft