Is there any way to use a custom gateway rather than ipfs.io?
like when we publish any file in ipfs network we can access it as https://ipfs.io/ipns/hash…
I want to change that gateway like https://example.io/ipns/hash and access files. Can we do that in ipfs?
can you tell me how exactly we can do that.
I don’t want to use existing public gateways…rather want to use a new gateway
just use your own gateway then
Load things from
127.0.0.1:8080/ipfs/... (or whatever address it has)
As I said I want to use a new gateway with some name like https://example.io/ipns/hash...rather than existing public gateways or localhost. Is that possible? If so how?
how can I do that?
should I buy domain name or something like that, what is the process?
Rent a VPS , get a domain name, and start IPFS there.
OK…how to connect that domain name to ipfs?
You don’t. You serve IPFS gateway on port 443, after configuring the DNS records and a reverse proxy
you might try using ipfs://
By default ipfs will enable a gateway on localhost. To make it public you’ll need to edit your config for the entry Addresses.Gateway to listen to a public address. Then you’ll need to point a DNS address to the gateway and you are done.
I would also consider whether you want to set Gateway.NoFetch to true. By default it will run as an open gateway allowing people to access any content through your gateway. Setting NoFetch to True will only return content that you have on that node.