Setting up reverse proxy to subdomain

Thumbnail image: Korbit’s AI-Powered Code Review Agent helps your team ship better code, faster.

You want to access it both ways in parallel? (Some Web applications need to know where they live, so I guess you would have to work with URL rewrites to fool the CMS). (I haven‘t studied your input in detail so far)

As long as it works at example.com/media, I don't need it to work at media.example.com

More replies More replies

Ok, I see. What I'm hoping to do is put the CMS app in an iframe on a page in the root domain. And I'd like to be able to inject javascript into the CMS iframe, but I saw that browsers restrict javascript injection to the same hostname, so I wanted to put it on the same one.

I just found that it is possible to inject into a different subdomain of the same root, if you can add a line into the iframe's javascript. And I think MediaCMS allows editing the javascript, so I'll give that a try.

Did you ever figure this out?

Oh I don't remember, sorry. I abandoned that project a while ago.

More replies