We have a client website that was using domain.co.uk
as the web channel URL, and domain.co.uk/admin
for the admin URL.
We are now changing this to follow best practises by using a dedicated sub-domain, which would now be admin.domain.co.uk/admin
.
The admin site is working fine, pages in the content tree load fine, etc. However, there are issues with images in the Media Library on the admin site. The image preview and URLs are being generated using the new sub-domain, which breaks them as they're not available through it.
E.g. https://admin.domain.co.uk/getmedia/83b7c56c-f783-4e37-b895-aec4faaab0fe/book-grey.jpg
Is there a recommended approach to fixing this? Am I missing a setting to control this, or do we need to add a redirect/rewrite for forwarding requests to the channel URL?