# http://\_subdomainHASH\_.ipfs.localhost:8080 "AgentVersion": "go-ipfs/0.5.1/" redirection

**URL:** <https://discuss.ipfs.tech/t/http-subdomainhash-ipfs-localhost-8080-agentversion-go-ipfs-0-5-1-redirection/8004>\
**Category:** Help\
**Tags:** go-ipfs\
**Created:** [May 16, 2020, 4:09am UTC](https://discuss.ipfs.tech/t/http-subdomainhash-ipfs-localhost-8080-agentversion-go-ipfs-0-5-1-redirection/8004 "2020-05-16T04:09:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hector](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hector/32/178_2.png) [@hector](https://discuss.ipfs.tech/u/hector)\
**Post date:** [May 16, 2020, 10:05pm UTC](https://discuss.ipfs.tech/t/http-subdomainhash-ipfs-localhost-8080-agentversion-go-ipfs-0-5-1-redirection/8004/2 "2020-05-16T22:05:44Z")

</div>

> I wonder how this is done?

Magic!

> And which [CLI commands](https://docs.ipfs.io/reference/api/cli/) make relation between Qm\_HASH\_ and _subdomainHASH_ ?

The Qm hash is a CidV0 Content Identifier (CID) which uses base58 encoding.

The subdomain hash is a CidV1 content identifier which uses base32 encoding. It is the same underlying hash, just represented differently.

You can covert between hashes using `ipfs cid` commands. `ipfs cid base32 <QmHash>` for example.

---

_[View the full topic](https://discuss.ipfs.tech/t/http-subdomainhash-ipfs-localhost-8080-agentversion-go-ipfs-0-5-1-redirection/8004)._
