Copied to clipboard

Flag this post as spam?

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


  • Rotem Orbach 121 posts 607 karma points
    Jun 06, 2019 @ 12:21
    Rotem Orbach
    0

    Multi site websites keeps redirecting to one of the domains

    Hi all, I have a multi-language website with several languages. On dev environment everything everything works ok.

    From some reason, on production environment, when I try to browse to one of my websites ( https://www.nl.jobtestprep.de ), it gets redirected to https://www.jobtestprep.de (which is one of those websites, which works properly).

    Any help will be highly appreciated.

    Rotem

  • Morten Leerhøy 11 posts 82 karma points
    Jun 06, 2019 @ 13:06
    Morten Leerhøy
    0

    Hi Rotem,

    Did you set up the domains for the particular languages on the production site?

  • Rotem Orbach 121 posts 607 karma points
    Jun 06, 2019 @ 13:28
    Rotem Orbach
    0

    Hi Morten, Of course :)

  • Morten Leerhøy 11 posts 82 karma points
    Jun 06, 2019 @ 13:31
    Morten Leerhøy
    0

    Any custom redirects in your web.config? are the production site behind a loadbalancer that could cause problems?

  • Rotem Orbach 121 posts 607 karma points
    Jun 06, 2019 @ 13:32
    Rotem Orbach
    0

    No load balancer. Web.config is the same as Dev, except for the connection string and some other obvious things.

  • Morten Leerhøy 11 posts 82 karma points
    Jun 06, 2019 @ 13:43
    Morten Leerhøy
    0

    Don't know if it'll give you any pointers, but fiddler tells me "HTTPS handshake to www.nl.jobtestprep.de (for #8) failed. System.IO.IOException Authentication failed because the remote party has closed the transport stream."

  • Rotem Orbach 121 posts 607 karma points
    Jun 06, 2019 @ 14:17
    Rotem Orbach
    0

    Thanks, I'll try to read some on this.

    If anybody else have any insight, I will be more than happy to read.

  • Rotem Orbach 121 posts 607 karma points
    Jun 10, 2019 @ 08:11
    Rotem Orbach
    100

    For all of you, who wants to know what the problem was, it was Url rewrite rule. (non-www to www)

  • Morten Leerhøy 11 posts 82 karma points
    Jun 12, 2019 @ 14:24
    Morten Leerhøy
    0

    So it was redirects after all - great that you got it working.

Please Sign in or register to post replies

Write your reply to:

Draft