Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

Commit 2dbb198

Browse files
authored
more
1 parent cda178a commit 2dbb198

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/websites/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ added QmYh6HbZhHABQXrkQZ4aRRSoSa6bb9vaKoHeumWex6HRsT mysite/index.html
1717
added QmYeAiiK1UfB8MGLRefok1N7vBTyX8hGPuMXZ4Xq1DPyt7 mysite/
1818
```
1919

20-
The very last hash next to the folder name is the one you want, lets call it
20+
The very last hash next to the folder name is the one you want, let's call it
2121
`$SITE_HASH` for now.
2222

2323
Now, you can test it out locally by opening `http://localhost:8080/ipfs/$SITE_HASH`
2424
in your web browser! Next, to view it coming from another ipfs node, you can try
2525
`http://gateway.ipfs.io/ipfs/$SITE_HASH`. Cool, right? But those hashes are
26-
rather ugly. Lets look at some ways to get rid of them.
26+
rather ugly. Let's look at some ways to get rid of them.
2727

2828
First, you can do a simple DNS TXT record, containing `dnslink=/ipfs/$SITE_HASH`.
2929
Once that record propagates, you should be able to view your site at
30-
`http://localhost:8080/ipns/your.domain`. Now thats quite a bit cleaner.
30+
`http://localhost:8080/ipns/your.domain`. Now that's quite a bit cleaner.
3131
You can also try this on the gateway at `http://gateway.ipfs.io/ipns/your.domain`
3232

3333
Next, you might be asking "well what if i want to change my website, DNS is slow!"
@@ -45,7 +45,7 @@ Published to <your peer id>: /ipfs/$SITE_HASH
4545

4646
Now, you can test that it worked by viewing: `http://localhost:8080/ipns/<your peer id>`.
4747
And also try the same link on the public gateway. Once you're convinced that works,
48-
lets again hide the hash. Change your DNS TXT record to `dnslink=/ipns/<your peer id>`,
48+
let's again hide the hash. Change your DNS TXT record to `dnslink=/ipns/<your peer id>`,
4949
wait for that record to propagate, and then try accessing `http://localhost:8080/ipns/your.domain`.
5050

5151
At this point, you have a website on ipfs/ipns, and you may be wondering how

0 commit comments

Comments
 (0)