# Handling updates of IPFS-based web pages

**URL:** <https://discuss.ipfs.tech/t/handling-updates-of-ipfs-based-web-pages/11786>\
**Category:** Help\
**Created:** [July 18, 2021, 3:41pm UTC](https://discuss.ipfs.tech/t/handling-updates-of-ipfs-based-web-pages/11786 "2021-07-18T15:41:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![billaimbibson](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/billaimbibson/32/5262_2.png) [@billaimbibson](https://discuss.ipfs.tech/u/billaimbibson)\
**Post date:** [July 18, 2021, 3:41pm UTC](https://discuss.ipfs.tech/t/handling-updates-of-ipfs-based-web-pages/11786/1 "2021-07-18T15:41:01Z")

</div>

I’ve seen how easy it is to deploy and pin a “single-page” website using IPFS, but the part I am not understanding: what happens when you want to update the content? Do you just 1) unpin the old, and 2) redeploy the page again? Presuming you had some domain service, do you have to update to the new hash ID (CID?)? Is there a better way? Thanks!

---

<div class="post-metadata">

**Author:** ![bbigras](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/bbigras/32/4187_2.png) [@bbigras](https://discuss.ipfs.tech/u/bbigras)\
**Post date:** [July 19, 2021, 5:43am UTC](https://discuss.ipfs.tech/t/handling-updates-of-ipfs-based-web-pages/11786/2 "2021-07-19T05:43:12Z")

</div>

Did you check ipns?

> **[IPNS](https://docs.ipfs.io/concepts/ipns/)**
>
> Learn about the InterPlanetary Name System (IPNS) and how it can be used in conjunction with IPFS.

---

<div class="post-metadata">

**Author:** ![billaimbibson](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/billaimbibson/32/5262_2.png) [@billaimbibson](https://discuss.ipfs.tech/u/billaimbibson)\
**Post date:** [July 19, 2021, 5:47am UTC](https://discuss.ipfs.tech/t/handling-updates-of-ipfs-based-web-pages/11786/3 "2021-07-19T05:47:50Z")

</div>

Yes, that looks like a promising way to go. I think what could be done is 1) use IPNS to create a “static” CID for your project, and then 2) use DNS or some other same service as an alias to make it easier to find. Does it sound like I’m on the right track? Thank you!

---

<div class="post-metadata">

**Author:** ![bbigras](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/bbigras/32/4187_2.png) [@bbigras](https://discuss.ipfs.tech/u/bbigras)\
**Post date:** [July 19, 2021, 5:52am UTC](https://discuss.ipfs.tech/t/handling-updates-of-ipfs-based-web-pages/11786/4 "2021-07-19T05:52:32Z")

</div>

I’m not familiar with setting a DNS for ipfs but I saw a webpage doing it the other day:

> **[Files on IPFS](https://fdroid.evanito.com/)**
>
> /ipns/fdroid.evanito.com/

It uses CloudFlare.

```auto
❯ nslookup fdroid.evanito.com
Server: 1.1.1.1
Address: 1.1.1.1#53

Non-authoritative answer:
fdroid.evanito.com canonical name = cloudflare-ipfs.com.
Name: cloudflare-ipfs.com
Address: 104.17.64.14
Name: cloudflare-ipfs.com
Address: 104.17.96.13
Name: cloudflare-ipfs.com
Address: 2606:4700::6811:400e
Name: cloudflare-ipfs.com
Address: 2606:4700::6811:600d

```

---

<div class="post-metadata">

**Author:** ![bbigras](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/bbigras/32/4187_2.png) [@bbigras](https://discuss.ipfs.tech/u/bbigras)\
**Post date:** [July 19, 2021, 5:57am UTC](https://discuss.ipfs.tech/t/handling-updates-of-ipfs-based-web-pages/11786/5 "2021-07-19T05:57:38Z")

</div>

There’s seem to be other ways to do DNS. This repo mentions dnslink:

> **[ipfs-shipyard/ipfs-dns-deploy](https://github.com/ipfs-shipyard/ipfs-dns-deploy)**
>
> A circleci friendly Docker image for pinning things to cluster and updating dns - ipfs-shipyard/ipfs-dns-deploy

---

<div class="post-metadata">

**Author:** ![billaimbibson](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/billaimbibson/32/5262_2.png) [@billaimbibson](https://discuss.ipfs.tech/u/billaimbibson)\
**Post date:** [July 21, 2021, 2:14pm UTC](https://discuss.ipfs.tech/t/handling-updates-of-ipfs-based-web-pages/11786/6 "2021-07-21T14:14:32Z")

</div>

Oh yeah, that was the one I was going to do… dnslink. Thanks for the link, and let you know how it goes.

---

<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:** [July 29, 2021, 5:46am UTC](https://discuss.ipfs.tech/t/handling-updates-of-ipfs-based-web-pages/11786/7 "2021-07-29T05:46:56Z")

</div>

I believe you’ll find these resources quite helpful:

- [DNSLink | IPFS Docs](https://docs.ipfs.io/concepts/dnslink/)
- [Link a domain | IPFS Docs](https://docs.ipfs.io/how-to/websites-on-ipfs/link-a-domain/)

Good luck / I hope you figured it out 🙂.

Edit: Btw [ipfs-sync](https://github.com/TheDiscordian/ipfs-sync/) was originally designed specifically for keeping websites updated.
