Amazon S3 and Namecheap - redirect loop

The place to discuss Namecheap.com's domain registration services and domain names in general

Amazon S3 and Namecheap - redirect loop

Postby d4n0w3ns » Sun Jan 05, 2014 4:19 am

The static website that I've set up on Amazon S3 keeps returning a redirect loop when I try to access it using my domain name with and without the www.

On my amazon s3 account, I created two buckets:

In the S3 manager, I configured the SAMPLE bucket to "Enable Website Hosting", and the http://www.SAMPLE.com to redirect to SAMPLE.com.

I also specified index.html as my Index Document on the SAMPLE.com bucket, and uploaded index.html.

Back on name cheap, I've tried a bunch of different URL Redirect and CNAME combinations, but all result in the redirect loop.

Currently it's:


Whenever I try to access from a browser's URL bar either SAMPLE.com or http://www.SAMPLE.com, I get told that I'm in a redirect loop, and my page can't be accessed.
d4n0w3ns
Registered User
 
Posts: 3
Joined: Sun Jan 05, 2014 4:11 am

Re: Amazon S3 and Namecheap - redirect loop

Postby StasT » Sun Jan 05, 2014 6:00 am

Hello,

Please try setting up only one bucket http://www.SAMPLE.com (or make it the main one so that SAMPLE.com is redirected to http://www.SAMPLE.com) in your Amazon account. The records in your Namecheap account should be set up in the following way:

@ | http://www.SAMPLE.com | URL Redirect
www | http://www.SAMPLE.com.s3-website-us-eas ... zonaws.com | CNAME (Alias)

Hope this helps.

Thank you,
Stas
Namecheap.com
StasT
Namecheap Staff
 
Posts: 367
Joined: Tue Jun 07, 2011 8:22 pm

Re: Amazon S3 and Namecheap - redirect loop

Postby d4n0w3ns » Sun Jan 05, 2014 6:15 pm

StasT wrote:Hello,

Please try setting up only one bucket http://www.SAMPLE.com (or make it the main one so that SAMPLE.com is redirected to http://www.SAMPLE.com) in your Amazon account. The records in your Namecheap account should be set up in the following way:

@ | http://www.SAMPLE.com | URL Redirect
www | http://www.SAMPLE.com.s3-website-us-eas ... zonaws.com | CNAME (Alias)

Hope this helps.

Thank you,
Stas
Namecheap.com


This resolved the issue. Thanks
d4n0w3ns
Registered User
 
Posts: 3
Joined: Sun Jan 05, 2014 4:11 am

Re: Amazon S3 and Namecheap - redirect loop

Postby TedV » Sun Jan 05, 2014 6:49 pm

Hello,

You are very welcome.

Feel free to contact us should you require any further assistance.

Ted

Namecheap.com
TedV
Namecheap Staff
 
Posts: 374
Joined: Thu Mar 24, 2011 9:19 pm


Return to Domain Names

Need help? We're always here for you.

× Close