Redirect not going to correct domain

Umbraco: 8.2.2

SEO Checker: 2.8.2

I’m running into an issue where a redirect doesn’t end up on the correct domain when redirecting to a node. Take the following example.

There are two sites example1.com and example2.com managed through the same umbraco installation, each with their own root node. Both have a child page at /test/. When I redirect /not-test/ to the Test node under example2.com, example2.com/not-test/ redirects to example2.com/test/ as expected. The problem is that example1.com/not-test/ redirects to example1.com/test/ and not example2.com/test/.

It is possible to get around this by redirecting to an absolute url instead of a node, though this isn’t ideal.


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/100760-redirect-not-going-to-correct-domain