Permanent on IPFS does not mean upload once and forget. It means you understand one link. Your domain points to content, not to a computer. Once you see that, long term hosting gets simple.
In normal hosting, you rent space on a server. You upload files. Your domain points to an IP address. As long as you pay the bill, the same URL serves whatever files are there now. You can change one file and the address stays the same.
IPFS works the other way. You can learn this from the official path for websites on IPFS. The first tutorial hosts a simple one page website on IPFS and links up a domain name. It is described as the first step in a series of tutorials to teach web developers how to build websites and applications using IPFS. The second guide teaches how to host a website with multiple pages and external assets on IPFS. If you are new to the ecosystem, the docs suggest you follow the single page website guide before you start the multi page one. It will give you a solid foundation to work off. That order matters for permanence.
Here is the non obvious part. Every edit creates new content. The address for that content changes too. So your job is not just to add files. Your job is to keep a stable path to changing content. That stable path is a folder, plus a gateway address you test, plus a domain link you update, plus a node that keeps serving. Miss one, and the site looks dead even though the files still exist.
Upload is not hosting
Many people add a single index.html to IPFS, open it once, then close their laptop. Then they wonder why it stops loading. Adding is only step one. Someone has to serve it.
The easiest start is the IPFS Desktop guide for a single page website. The guide states that the IPFS Desktop application is the easiest way to get up and running quickly with IPFS. The installation steps differ between operating systems. You follow the instructions for your system.
On Windows, you download the latest available .exe file from the IPFS Desktop downloads page. You run the .exe file to start the installation. You select whether you want to install the application for just yourself or all users on the computer. You click Next. You select the install location. The default location is usually fine. You click Next. You wait for the installation to finish and click Finish. You can then find an IPFS icon in the status bar.
On macOS, you download the latest available .dmg file from the IPFS Desktop downloads page. You open the ipfs-desktop.dmg file. You drag the IPFS icon into the Applications folder. You open your Applications folder and open the IPFS Desktop application. You may get a warning saying the app cannot be opened. In that flow, you click Show in Finder. You find the app in your Applications folder. You hold down the control key, click the app, and click Open. You click Open in the new window. You can then find an IPFS icon in the status bar.
On Linux, you download the latest available .deb file from the IPFS Desktop downloads page. You open the .deb package in Software Installer. You click Install and wait for the installation to finish. You click Applications or press the Windows key on your keyboard. You search for IPFS and select IPFS Desktop. You can then find an IPFS icon in the status bar.
If you already downloaded the app, you can skip that step and move to adding your site. That is the pattern for the whole workflow. Install once. Add many times. Test every time.
Get the Brego brief
One email. No noise. Unsubscribe anytime.
Build a folder that survives edits
The example site in the docs is incredibly simple. Its purpose is to display random planet related facts. Each time the page is refreshed, a new fact is displayed. The website is called Random Planet Facts. You create a file called index.html and paste in the code for that page. The starter page includes a title, a meta description, an author tag, simple styling, and a script that picks a fact on load.
That works for one file. It breaks as a habit for a real frontend. A real frontend has more than one page. It has images. It has styles. It has links. That is why the second tutorial exists. In that multi page website guide, you learn how to host a website with multiple pages and external assets on IPFS.
Before you touch IPFS, you first create the files you need for the mini project. You create a folder called multi-page-first-step. Within this new folder, you create a file called index.html and paste in the code. You continue using the Random Planet Facts website from the previous tutorial, with an added link to an About page. That About link points to about.html. The home page also references an image file called moon-logo.png.
This folder habit is the permanence trick. Do not add loose files one by one if they link to each other. Keep one project folder. Put index.html, about.html, images, CSS, and JavaScript inside it. Use relative links like about.html and moon-logo.png, not absolute server paths. When you add the folder, the pages keep their relative structure. When you change one fact or fix one link, you re add the whole folder and you get a new address for the updated version. Your domain can then move to the new version in one step.
What to put in the folder
- One folder per site version, for example multi-page-first-step
- index.html as the entry page with clear title and description
- about.html for the second page, linked from the home page
- Local assets like moon-logo.png stored next to the HTML
- Relative links only, so pages still find each other under a new address
Add it with IPFS Desktop or a server node
The next step is to import your site into IPFS using the IPFS Desktop app you just installed. That is the Desktop path. It is good for building and testing.
For long term serving, you also want a node that stays online when your laptop is closed. One documented path is to run IPFS on a server from zero. The domain on IPFS server setup tutorial walks through hosting your website under your domain on IPFS on an Ubuntu server. It starts by updating the system and installing tar and wget. It downloads the IPFS binary, extracts it, and copies it to the system path. It notes it is usually not a good idea to run a public facing service as root, so you create a new user account to run IPFS.
You then initialize IPFS with a server profile using ipfs init –profile=server. You could start the daemon with ipfs daemon, but what you really want is that it automatically starts when the server boots. So you enable user lingering for that user. You create a system service file for the IPFS daemon with restart on failure. You enable and start the service with systemctl enable ipfs and systemctl start ipfs. The guide notes that IPFS should then be up and running, and start when the server boots. You should see peers pouring in when you check ipfs swarm peers. Then you add your website to IPFS from that node.
You do not need both paths forever. Many teams use both. They build in Desktop. They publish from a server node. The key is that at least one node you control keeps running and keeps providing the current folder.
Reach it through a gateway
After adding, you need a readable URL. The multi page guide uses gateway.example.net as a placeholder for an IPFS gateway. You can replace it with a self hosted Kubo gateway. For best effort hosting and testing, you can try the public good ipfs.io with the dweb.link variant, or any of the public gateways that support Origin isolation in subdomain mode.
Test both shapes. Test the directory path. Test the About page. Test the image. Click the About link from the home page. Reload. If the image fails but the text loads, your HTML was added without the asset in the same folder. Rebuild the folder and re add.
Do not treat a public gateway as permanence. Treat it as a viewer. Permanence comes from your node staying online, your folder staying complete, and your domain pointing to the current version. Gateways only show what is still being provided.
Point your domain at content, not a server
The single page tutorial includes linking up a domain name. The server tutorial is explicitly about hosting your site under your domain on IPFS. This is where IPFS differs from normal hosting.
You are not pointing the domain to a server IP that never changes. You are creating a domain record that resolves to your current IPFS content. When you fix a typo, add a page, or swap an image, the content address changes. You must move the domain pointer to the new version. If you forget, visitors keep seeing the old facts, or they see nothing if the old version is no longer provided.
Make updates boring. Update the files in your local project folder. Re add the folder. Copy the new address. Test it through a gateway. Then update the domain link. Then test the domain. Then keep the old version online for a short time while caches clear. Small loop, every time.
Checklist to stay resolvable long term
Use this list after every publish. It is built only from the workflow above.
Publish checklist
- Keep one project folder with index.html, about.html, and local assets like moon-logo.png
- Use relative links between pages and assets before you add to IPFS
- Add the whole folder from IPFS Desktop or from your server node
- Open the new version through a gateway. Replace gateway.example.net with your chosen gateway, including a self hosted Kubo gateway or a public gateway that supports subdomain mode
- Click every internal link. Confirm the About page and images load on refresh
- Update your domain to point to the new folder version
- Load the site from the domain. Confirm home, About, and assets resolve
Keep alive checklist
- Keep IPFS Desktop running while you build, and keep at least one server node online for serving
- On a server, confirm the daemon auto starts on boot with the system service enabled and started
- Check peers with ipfs swarm peers to confirm the node is connected
- After laptop restarts, server reboots, or app updates, re open the domain URL and gateway URL
- After any content edit, repeat the publish checklist. Do not assume the domain follows the edit by itself
- Keep a dated copy of each published folder, so you can roll the domain back if a new version has a broken link
Permanent IPFS hosting is maintenance. Content addressing gives you verifiable files. Folders give you a stable structure. Gateways give you a readable test path. Domains give you a human name. A running node gives you availability. Keep all five aligned, and a simple frontend like Random Planet Facts will stay resolvable year after year.

