Public Files - Mapping to a Website
    • 09 Apr 2024
    • PDF

    Public Files - Mapping to a Website

    • PDF

    Article Summary

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

    The first step is to make the file(s) public. By default, files stored with Wasabi are private. However, you can make files public so they can be reached via the appropriate URL, as described for Working With Folders and/or Files.

    By default, public use of a bucket, folder, or file is allowed only by certain paid (not trial) accounts. If your account does not have access to this feature, contact Wasabi Support at support@wasabi.com for assistance.

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

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

    If the file you want to reach is in a folder in a bucket, you can also specify the full path. In this example, the file 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

    If you do not make the file public, you will see an error message such as the following when you try to browse to or access the file. (You will also see 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 (such as wasabi-support.com), you may want 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. For example, in the GoDaddy control panel for a domain of wasabi-support.com, the domain is forwarded to wasabi-support-bucket.s3.wasabisys.com/wasabi-logo1.jpg. (S test of the mapping is shown on the far right.)

    If you want to use a DNS CNAME record (for example) to remap logo.wasabi-support.com to wasabi-support.com, you can do so in your DNS control panel. For example:

    This example discusses the use of Wasabi's us-east-1 storage region. To use other Wasabi storage regions, use the appropriate Wasabi service URL.