> For the complete documentation index, see [llms.txt](https://help.webhash.com/webhash-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.webhash.com/webhash-docs/faqs-on-decentralized-websites/how-to-publish-a-page-on-ipns-or-ipfs.md).

# How to publish a page on IPNS or IPFS 🔗

When publishing your template on the 1W3 platform, you have the option to choose between publishing on IPNS or IPFS. Here's how you can make the choice:

* Automatic IPNS Key Generation:
  * When you publish your template, the 1W3 editor automatically generates an IPNS key for your website.
  * IPNS allows for dynamic content and seamless updates but incurs gas fees on every update.
* Integration with Your Domain:
  * The generated IPNS key can be integrated with your domain, enabling visitors to access your decentralized website using your domain name.
  * This integration helps establish a consistent and recognizable web address for your website.
* Switching to IPFS:
  * If you want to avoid gas fees on further updates to your website's content, you have the option to switch to IPFS.
  * By switching to IPFS, you can enjoy the benefits of decentralized storage without incurring gas fees for each update.

Ultimately, the choice between IPNS and IPFS depends on your specific needs and preferences. If you anticipate frequent content updates and want to avoid gas fees, switching to IPFS may be the best option for you. However, it's important to note that IPFS updates may take some time to propagate across the network and become accessible to all users.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.webhash.com/webhash-docs/faqs-on-decentralized-websites/how-to-publish-a-page-on-ipns-or-ipfs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
