Paperclip doc about url options:
You can choose to have the bucket\'s name placed domain-style (bucket.s3.amazonaws.com) or path-style (s3.amazonaws.c
If you bucket name is DNS compatible then you can create url .s3.amazonaws.com/object....
but if it is not DNS compatible then you can not create as you want.
Thanks