title: Redirect custom domain path to Cloudfront AWS
body: <p>So I have a simple rating page hosted as a static website on a S3 bucket (deployed from GitHub with Code-Pipeline). I've also created a CloudFront distribution to speed up the website.</p>
  <p>Let's say my domain is <code>example.com</code>, how can I redirect my CloudFront distribution to something like <code>example.com/path</code> - where path is a new resource in my domain.</p>
  <p>All the solutions I came to indicated me to create a hosted zone and an alias to the distribution with Route53, but that would only create a subdomain - like <code>path.example.com</code>, is it possible to redirect to a new path resource in my domain?</p>