How can I change the Amazon S3 url from http://bucket.amazons3.com/imagepath.jpg to http://image.mydomain.com/imagepath.jpg
EDIT: Basically the whole reason for this is to hide the amazon s3 url from my users.
I was thinking about a HttpModule that would redirect the request from image.mydomain.com to bucket.amazons3.com. But that would require all requests to be handled by my servers first then forwarded.
Bryan's answer is correct and Ramesh and Vincent's have an error. Setting the CNAME to s3.amazonaws.com resulted in unnecessary redirects for me, as warned in the AWS Virtual Hosting of Buckets guide here.