Creating url from the cloudfront aws

Posted by GroovyUser on Server Fault See other posts from Server Fault or by GroovyUser
Published on 2012-10-11T09:08:36Z Indexed on 2012/10/11 9:40 UTC
Read the original article Hit count: 265

I have my js files which I have uploaded into the Amazon S3 and linked it with the Cloudfront.

I got a url something like this :

dxxxxxxxx.cloudfront.net

But opening that url in my browser ( I'm getting an error ) :

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>xxxxxx</RequestId>
<HostId>
xxxxxxxxxxxxxxx
</HostId>
</Error>

But what I want actually is to use the url and add them to my webpage. How could I do that?

Thanks in advance.

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about amazon-web-services