Let's pretend example.com
is my domain.
I'd like to have:
- HubSpot's provided landing page at
example.com/
- HubSpot's provided blog at
example.com/blog/
- my website hosted on AWS S3 at
example.com/map/
So, I'm thinking about adding HubSpot's origins to my CloudFront distribution and configuring my distribution's behaviors to point to the appropriate origins based on path like this:
/
->1234567.group1.sites.hubspot.net
/blog
->1234567.group1.sites.hubspot.net/blog
/map
->my-map-platform.website.s3.amazon.com/map
Is it OK to have CloudFront in front of HubSpot provided websites? Are there any problems connected with this approach?