up vote 1 down vote favorite
share [g+] share [fb]

Is there a way to redirect your domain which you are pointing towards S3 to your home pages? Like I am hosting my videos on Amazon S3 but if someone try to access the my s3.mywebsite.com it result in xml output, I want the user to redirect back to my home page (mywebsite.com)

Thanks,

link|improve this question
feedback

migrated from stackoverflow.com Jan 8 '10 at 9:34

This question came from our site for professional and enthusiast programmers.

1 Answer

If you put an Amazon CloudFront distribution in front of your S3 bucket, you can define a Default root object. This could be an html containing a javascript redirect to another site.

See the Amazon CloudFront Developer Guide for more information on how to set up CloudFront and set up the root object.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown