Custom Portal URL causing SAMEORIGIN error with embedded Page snippet

Custom Portal URL causing SAMEORIGIN error with embedded Page snippet

In my app, I have a page that embeds another page. The URL that I have for the embedded page starts with https://creatorapp.zoho.com but the custom domain I have set up is https://kors.kerndell.com.

Because the user logged into the app at https://kors.kerndell.com, when the application goes to load the embedded URL, the browser will not display due to SAMEORIGIN issues due to the fact that the app is trying to load https://creatorapp.zoho.com... into the iFrame. 


I can not set the embed URL to be https://kors.kerndell.com, because none portal users access the application from the Zoho domain.

What would be the proper way to handle properly loading the page into the embedded iFrame for both portal and non-portal users if I want to keep the custom domain?