Redirect S3 URL to Domain URL

0

I have my image stored on my server as xyz.com/images , Now I have moved my folder to s3 but I want my URL to be the same. I don't want use Cloud front for redirect , Is their a was to use redirection rules to change the path URL images

1개 답변
3

I think what you're asking is that you want http://xyz.com/images/ to be hosted in S3 while your website is still hosted on your server. Is that correct?

If so, you can't have your server (xyz.com) and the S3 bucket with the same DNS name. You can create a bucket which is (say) images.xyz.com and then reference that from your server in your webpages.

If your whole site is being moved to S3 then I would strongly recommend that you use CloudFront because you get HTTPS support and the ability be much more flexible with redirects.

profile pictureAWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠