CNAME aliases not working correctly

Discussion in 'General troubleshooting' started by kylabutterf, Mar 16, 2010.

  1. I'm using Amazon S3 to host my images. My bucket is at http://images-kylabutterfield.s3.amazonaws.com/. You can see that you can view the contents of the bucket correctly.

    I've set up a CNAME alias through the DNS manager, so that if you go to http://images.kylabutterfield.com/, you'll actually be at http://images-kylabutterfield.s3.amazonaws.com/.

    It doesn't seem to be working though. If I go to http://images.kylabutterfield.com/, it says the bucket doesn't exist.

    Does anyone know what could be happening?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    I did some test and it looks like both images.kylabutterfield.com and images-kylabutterfield.s3.amazonaws.com is resolving to the same IP.

    c:\>ping images-kylabutterfield.s3.amazonaws.com
    Pinging s3-2-w.amazonaws.com [207.171.181.229] with 32 bytes of data:

    C:\>ping images.kylabutterfield.com
    Pinging s3-2-w.amazonaws.com [207.171.181.229] with 32 bytes of data:
     
  3. Thanks for the response Bruce.

    So you think this is an issue I should take up with Amazon?
     
  4. mjp

    mjp

    Did you set up the cname at Amazon? I don't know if this is relevant, but it looks like you have to set your cname up as a "distribution" at Amazon before it will work.
     

Share This Page