We use AWS S3 for hosting our React website. On top of it there is a Cloudfront distribution, which points our custom domain name https://www.mycompany.com to the mentioned website.
Now, our marketing team wants a Wordpress site hosted at https://www.mycompany.com/blog
We have managed to install Wordpress in a EC2 instance with a LB hosted at https://blog.mycompany.com
We have tried adding blog.mycompany.com as an Origin in "Origins and Origin Groups" tab. And then adding a new "Behavior" for
blog* path pattern and point it to your newly created "blog.mycompany.com" origin. But that does not seem to work well, given when accessing https://www.mycompany.com/blog we still see our React website.