# Custom domain setup impossible to get working

**URL:** <https://forum.storj.io/t/custom-domain-setup-impossible-to-get-working/27905>\
**Category:** troubleshooting\
**Created:** [September 16, 2024, 3:15pm UTC](https://forum.storj.io/t/custom-domain-setup-impossible-to-get-working/27905 "2024-09-16T15:15:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kris](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kris/32/7823_2.png) [@Kris](https://forum.storj.io/u/Kris)\
**Post date:** [September 16, 2024, 3:15pm UTC](https://forum.storj.io/t/custom-domain-setup-impossible-to-get-working/27905/1 "2024-09-16T15:15:37Z")

</div>

Hi

I’m trying to get a custom domain to work for my bucket but after hours of trying it just does not seem to work. I followed the docs as closely as possible alongside the youtube walkthrough but it’s just not coming together for me.

I’m trying to use [assets.playerz.io](http://assets.playerz.io) to host some images. Cloudflare is my DNS provider

 ![image](https://storj-s3.bcdn.literatehosting.net/original/3X/3/0/304200bd3551e343f4a4b688ab8e777f04558980.png)

I essentially did the following steps:

1. Created a new project
2. Proceeded to create an API key with full access
3. Followed the setup for uplink under a new profile (playrz). Added the API key, satellite address and then my passphrase.
4. Create a new bucket via uplink (set to use playrz profile by default)
5. uploaded a test image at the root of the bucket
6. uplink share --dns [assets.playrz.io](http://assets.playrz.io) sj://playrz-assets --tls --not-after=none --access=playrz
7. Updated the DNS records with the values obtained from the command above

Following these steps and when I go to the domain I keep getting the default object not found error.

Any advice would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![heunland](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/heunland/32/6076_2.png) [@heunland](https://forum.storj.io/u/heunland)\
**Post date:** [September 16, 2024, 3:41pm UTC](https://forum.storj.io/t/custom-domain-setup-impossible-to-get-working/27905/2 "2024-09-16T15:41:39Z")

</div>

Welcome to the forum! Are you sure you uploaded the test image to the correct bucket under the correct project ¨playrz¨ ?

---

<div class="post-metadata">

**Author:** ![Kris](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kris/32/7823_2.png) [@Kris](https://forum.storj.io/u/Kris)\
**Post date:** [September 16, 2024, 3:45pm UTC](https://forum.storj.io/t/custom-domain-setup-impossible-to-get-working/27905/3 "2024-09-16T15:45:13Z")

</div>

Yes via uplink I use the cp command to place an image at the root of the bucket.

 ![image](https://storj-s3.bcdn.literatehosting.net/original/3X/0/3/037fd732891d63ba4c331beccb66b5df6a755792.png)

---

<div class="post-metadata">

**Author:** ![Kris](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kris/32/7823_2.png) [@Kris](https://forum.storj.io/u/Kris)\
**Post date:** [September 16, 2024, 3:45pm UTC](https://forum.storj.io/t/custom-domain-setup-impossible-to-get-working/27905/4 "2024-09-16T15:45:41Z")

</div>

![image](https://storj-s3.bcdn.literatehosting.net/original/3X/2/0/2046139c67e4035a64bbe9254f9d755a3fd3da4d.png)

---

<div class="post-metadata">

**Author:** ![artur](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/artur/32/13517_2.png) [@artur](https://forum.storj.io/u/artur)\
**Post date:** [September 16, 2024, 3:49pm UTC](https://forum.storj.io/t/custom-domain-setup-impossible-to-get-working/27905/5 "2024-09-16T15:49:14Z")

</div>

Your custom domain is working correctly:

![https://assets.playrz.io/20231027_182203.jpg](https://assets.playrz.io/20231027_182203.jpg)

Link: [https://assets.playrz.io/20231027\_182203.jpg](https://assets.playrz.io/20231027_182203.jpg)

If you want a website to show up, you need to upload an index.html file (more: [Hosting a Static Website - Storj Docs](https://storj.dev/dcs/code/static-site-hosting)).

---

<div class="post-metadata">

**Author:** ![Kris](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kris/32/7823_2.png) [@Kris](https://forum.storj.io/u/Kris)\
**Post date:** [September 16, 2024, 3:52pm UTC](https://forum.storj.io/t/custom-domain-setup-impossible-to-get-working/27905/6 "2024-09-16T15:52:14Z")

</div>

Ah ok so direct links to assets work fine. I noticed now that the example I was referencing had a folder hence I was able to navigate and list the files in a explorer type page

 ![image](https://storj-s3.bcdn.literatehosting.net/original/3X/6/e/6e492c70346f05108690a6278c6cd05ff90b6eea.png)

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [September 17, 2024, 4:40am UTC](https://forum.storj.io/t/custom-domain-setup-impossible-to-get-working/27905/7 "2024-09-17T04:40:34Z")

</div>

This works like an explorer only on [link.storjshare.io](http://link.storjshare.io), but not on the custom domain, because it’s expected to be a static web-site, thus - should have `index.html` in the root.
