I have a wordpress site and a dynamic webapp that need to be served from the same domain. I want to avoid using a subdomain or redirect due to SEO reasons.
Here is what I'd want to achieve:
mydomain.com/* -> 192.168.2.1 // WP installation: anything BUT /subfolder
mydomain.com/subfolder/* -> 192.168.2.2 // Web app: anything IN /subfolder
I read here in a comment that AWS CloudFront "can map different paths to different servers"
However I struggle to find any evidence, tutorial or confirmation if it's possible or how to do that.
Can the above setup be realized with Cloudfront? If so - how?