Copied to clipboard

Flag this post as spam?

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


  • Paul Woodland 7 posts 57 karma points
    Jul 12, 2022 @ 08:48
    Paul Woodland
    0

    uSync Publisher Current Server URL

    Hi,

    In uSync Publisher, where does it get the current server URL that is displayed in the backoffice from? It is using this URL to match which server you are currently on, but it always comes back as "Default" as the URL is wrong, so doesn't match any of the configured options (even though the configured options all work correctly as they have the right URLs).

    The URL that it has found is a URL for the front end website, but for security reasons the /umbraco address isn't available on that URL, we have a separate subdomain for the back office which is restricted to access by internal users, which is why it can't be used.

    Not really sure how to get it to detect the current URL as the "real" working one?

    Thanks in advance!

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Jul 12, 2022 @ 08:54
    Kevin Jump
    100

    Hi,

    I think we are getting it from Umbraco's ApplicationMainUrl value on the IHostringEnvironment. I am not 100% sure in v9 but that might be the URL as set by ApplicationUrl value or the URL of the first request sent to the server after it boots up.

    i am not sure if knowingthe above is enough to solve this 🤷. We could probably look at having our own override of this value - we would have to take a look at how baked in the assumption of that being the URL is.

  • Paul Woodland 7 posts 57 karma points
    Jul 12, 2022 @ 09:00
    Paul Woodland
    0

    Thank you for the very quick reply!

    That gives me some avenues to investigate, it might then be that something is set wrong in Umbraco. I'll look into it, thanks for your help.

  • Paul Woodland 7 posts 57 karma points
    Jul 12, 2022 @ 10:51
    Paul Woodland
    0

    Thank you for your help earlier, knowing that it came from the Umbraco ApplicationMainUrl, I tracked down the problem, it was an Umbraco configuration issue on one of the live servers, someone had set the URL wrong when deploying it!

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Jul 12, 2022 @ 12:20
    Kevin Jump
    0

    👍

Please Sign in or register to post replies

Write your reply to:

Draft