noryev / leto-gateway

Caching layer on top of the IPFS Gateway built for anonymous statistics
4 stars 1 forks source link

Linking leto.gg with Gateway #14

Open noryev opened 1 year ago

noryev commented 1 year ago

Using the domain name

To link your domain to your web server, you'll need to manage the domain and add a few records. Let's say that my domain name is example.org. I want to reuse it for other things, but I want ipfs.example.org and ipns.example.org to be linked to the IPFS node. This lets me use other subdomains for other activities.

Here's a bunch of records I needed to setup.

Type Hostname Value
A *.ipfs.example.org 203.0.113.123
A *.ipns.example.org 203.0.113.123
A ipfs.example.org 203.0.113.123
A ipns.example.org 203.0.113.123
AAAA *.ipfs.example.org 2001:db8:cad:d0::e89:2001
AAAA *.ipns.example.org 2001:db8:cad:d0::e89:2001
AAAA ipfs.example.org 2001:db8:cad:d0::e89:2001
AAAA ipns.example.org 2001:db8:cad:d0::e89:2001
CAA ipfs.example.org 0 issue "letsencrypt.org"
CAA ipns.example.org 0 issue "letsencrypt.org"
noryev commented 1 year ago

Take this and add our domain(leto.gg)

noryev commented 1 year ago
Type Hostname Value
A *.ipfs.leto.org 203.0.113.123
A *.ipns.leto.org 203.0.113.123
A ipfs.leto.org 203.0.113.123
A ipns.leto.org 203.0.113.123
AAAA *.ipfs.leto.org 2001:db8:cad:d0::e89:2001
AAAA *.ipns.leto.org 2001:db8:cad:d0::e89:2001
AAAA ipfs.leto.org 2001:db8:cad:d0::e89:2001
AAAA ipns.leto.org 2001:db8:cad:d0::e89:2001
CAA ipfs.leto.org 0 issue "letsencrypt.org"
CAA ipns.leto.org 0 issue "letsencrypt.org"
noryev commented 1 year ago

make sure you correct the values for the servers(those are all examples currently)

noryev commented 1 year ago

Currently the addresses are in Cloudflare! gateway.leto.gg