How do I map a Wasabi public file(s) to a website?

One of the periodic requests we get at Wasabi Support is “how do I make a file(s) public for use in a website). This knowledge base article is intended to help with some answers to this. All of the URLs in this document are live so feel free to test out as needed. 

The first step is to make the file(s) in question “public”. It should be noted that by default, the ability to make buckets public is disabled for Trial users. If this functionality is required for your trial testing, please contact us so we can review your use case and potentially adjust your trial account to enable this capability.

By default, files stored with Wasabi are “private”. However, you can make files public so they can be reached via the appropriate URL. Below is a pointer to the Wasabi user guide details on how to do that:

https://wasabi.com/wp-content/themes/wasabi/docs/User_Guide/index.html#t=topics%2FMaking_Folders_and_or_Files_Public.htm&rhsearch=public&rhhlterm=public&rhsyns=%20

Below is an example of a file (filename = wasabi-logo1.jpg) that has been made “public” and stored in a Wasabi bucket (bucket name = wasabi-support-bucket):

wasabi-support-bucket.s3.wasabisys.com/wasabi-logo1.jpg

s3.wasabisys.com/wasabi-support-bucket/wasabi-logo1.jpg

If the file(s) you want to reach are in a folder in a bucket, you can also specify the full path (in this example, the filename wasabi-logo2.jpg is in a folder named wasabi-support-folder) 

wasabi-support-bucket.s3.wasabisys.com/wasabi-support-folder/wasabi-logo2.jpg

s3.wasabisys.com/wasabi-support-bucket/wasabi-support-folder/wasabi-logo2.jpg 

Note that if you don’t make the file public, then when you try to access the file, you will see an error message like this when you try to browse to the file (you will also get this error message if the file or path name is wrong):


<Error>

<Code>AccessDenied</Code>

<Message>Access Denied</Message>

<RequestId>436EB128E8D03AC2</RequestId>

<HostId>

gziditx5QnCRyJRYgkN3htyTUi9APp4pxKtxoa1i+N9m8cD8oMA+JOyNcX/QufaPQ4GuK0I5gI6f

</HostId>

</Error>

 

Most Wasabi customers want to use a more-friendly URL than s3.wasabisys.com.  For example, if you have a website wasabi-support.com, you may wish to have this URL redirected to a file at wasabi-support-bucket.s3.wasabisys.com.   The method to do this mapping is handled external to Wasabi.    In the screen shot example below, in the GoDaddy control panel for a domain wasabi-support.com, the domain is forwarded to wasabi-support-bucket.s3.wasabisys.com/wasabi-logo1.jpg (a test of the mapping is shown on the far right).   

 

If you want to use to use a DNS CNAME record to (for example) remap logo.wasabi-support.com to the wasabi-support.com, you can do so in your DNS control panel.  See screen shot below for an example.

Note that this example discusses the use of Wasabi's us-east-1 storage region. To use other Wasabi storage regions, please use the appropriate Wasabi service URL as described in this article

Have more questions? Submit a request