We are excited to inform you about a new feature we’ve recently added to Amazon CloudFront, AWS’s easy to use content delivery network. You now have the ability to assign a default root object to your HTTP or HTTPS distribution. This default object will be served when Amazon CloudFront receives a request for the root of your distribution i.e., your distributions domain name by itself. To utilize this new functionality, you will need to enable it for your existing distribution. For instance, you might assign index.html to be the file that CloudFront would serve whenever it receives a request for your distribution without an object name specified.
This new feature will make it easier for you to serve all of your static content from edge locations close to your end users and provide them with a better experience. There are no extra charges for using this new feature beyond Amazon CloudFront’s normal rates for data transfer and requests. You can read more about the default root object feature in the Amazon CloudFront Developer Guide.
About Amazon CloudFront
Amazon CloudFront is a web service for content delivery. It integrates with other Amazon Web Services to give developers and businesses an easy way to distribute content to end users with low latency, high data transfer speeds, and no commitments.
Amazon CloudFront delivers your static and streaming content using a global network of edge locations. Requests for your objects are automatically routed to the nearest edge location, so content is delivered with the best possible performance. Amazon CloudFront works seamlessly with Amazon Simple Storage Service (Amazon S3) which durably stores the original, definitive versions of your files. Like other Amazon Web Services, there are no contracts or monthly commitments for using Amazon CloudFront – you pay only for as much or as little content as you actually deliver through the service.