> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/storage/object-storage/how-tos/access-buckets-and-files-through-urls.md).

# Access buckets and files through URLs

***

Object storage instances in Falkenberg have the location code `dc-fbg1`. Object storage instances in Stockholm have the location code `dc-sto1`. These are used in URLs to access files.

There are two URLs to choose from when accessing files through URLs.

* <https://objects>.*\[location]*.glesys.net/*\[bucket]*/*\[path]*
* https\://*\[bucket]*.objects.*\[location]*.glesys.net/*\[path]*

{% hint style="info" %}
For files to become publicly available, you must first make them public or change the bucket's access control list. See [Make files publicly available](/products/storage/object-storage/how-tos/clients-and-tooling/use-s3cmd-with-object-storage.md#make-files-publicly-available) for instructions on how to make files public using `s3cmd`.
{% endhint %}

## Examples

A bucket named `example-bucket`, placed in Falkenberg, with the file `my-file.txt`, would be accessed using either of the URLs:

* <https://objects.dc-fbg1.glesys.net/example-bucket/my-file.txt>
* <https://example-bucket.objects.dc-fbg1.glesys.net/my-file.txt>

A bucket named `patient-credit`, placed in Stockholm, with the file `dog.jpg`, would be accessed using either of the URLs:

* <https://objects.dc-sto1.glesys.net/patient-credit/dog.jpg>
* <https://patient-credit.objects.dc-sto1.glesys.net/dog.jpg>
