We access Episerver CMS from a different domain than the website is normally loaded from. This works great since you in Manage websites can define with domain you want as your "Primary" domain and which one you want to use as your "Edit" domain.
However, when we are in Episerver on episerver.website.com (the Edit domain) I would expect to be taken to www.website.com (the Primary domain) when I click the "View on website" link under the Options dropdown in the top right corner.
Is there a way to achieve this, or a reason why it is not working like this?
If it is a bug, it would be amazing to have it fixed, since it would make our editors lives easier.
That's a bug and you can find it here: CMS-3066. It's fixed in CMS UI 11 which we haven't released yet, so keep your eyes open for it :D
Ahh, thank you John-Philip for pointing it out :) That's great. We keep our installation up-to-date, so I am looking forward to this fix being released.