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”. By default, all 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:
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):
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)
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):
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.