# Disable subdomain redirect for kubo 0.20.0

**URL:** <https://discuss.ipfs.tech/t/disable-subdomain-redirect-for-kubo-0-20-0/16230>\
**Category:** Uncategorized\
**Created:** [April 1, 2023, 9:38am UTC](https://discuss.ipfs.tech/t/disable-subdomain-redirect-for-kubo-0-20-0/16230 "2023-04-01T09:38:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![woss](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/woss/32/3588_2.png) [@woss](https://discuss.ipfs.tech/u/woss)\
**Post date:** [April 1, 2023, 9:38am UTC](https://discuss.ipfs.tech/t/disable-subdomain-redirect-for-kubo-0-20-0/16230/1 "2023-04-01T09:38:47Z")

</div>

Hi,

I’m trying to disable the subdomains redirect from `domain/ipfs/CID` to `cid.ipfs.domain`.

I had it working in `0.11.0` version but cannot figure out how to do it in kubo.

Also I would like to have it the same way on localhost

Thanks

---

<div class="post-metadata">

**Author:** ![Discordian](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/discordian/32/4692_2.png) [@Discordian](https://discuss.ipfs.tech/u/Discordian)\
**Post date:** [April 4, 2023, 4:23pm UTC](https://discuss.ipfs.tech/t/disable-subdomain-redirect-for-kubo-0-20-0/16230/2 "2023-04-04T16:23:37Z")

</div>

Are you looking for this config option? [`Gateway.PublicGateways: UseSubdomains`](https://github.com/ipfs/kubo/blob/master/docs/config.md#gatewaypublicgateways-usesubdomains)

I’m also curious, what’s your use-case here?

---

<div class="post-metadata">

**Author:** ![woss](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/woss/32/3588_2.png) [@woss](https://discuss.ipfs.tech/u/woss)\
**Post date:** [April 12, 2023, 8:51am UTC](https://discuss.ipfs.tech/t/disable-subdomain-redirect-for-kubo-0-20-0/16230/3 "2023-04-12T08:51:41Z")

</div>

Hi, thanks for the answer.

Thing was that for some reason the caching of some sort was not picking up the changes.

I’m building open source image processing service and hosting on ipfs. There is a proxy in front of the ipfs and I don’t want that node to do any redirects.

If you are interested in this tech let me know, I’m already using it in other projects
