I have a static website hosted in AWS S3 with a URL
www.example.com. However, I need
www.example.com/blog to point to an EC2 instance instead of looking for
blog inside S3, since I installed Wordpress in that instance to serve the blog content. I am aware it is possible to do this by tweaking the Apache config file, as stated here, but this doesn't seem valid for S3 static hosting.
So, is this possible?
My question was flagged as possible duplicate of this question. However, The solution proposed there would alter the URL
www.example.com/blog, which I want to preserve.