Managing Sites
Learn how to create, update, and manage your Filebase Sites.
This guide covers how to create and manage sites through the Filebase web console and SDK.
Creating a Site
Using the Web Console
Navigate to the Sites section in the Filebase dashboard.
Click Create Site in the top right corner.
Enter a site name following these requirements:
3-63 characters long
Lowercase letters, numbers, and dashes only
Must start and end with a letter or number
Must be globally unique across all Filebase users
Click Create to create the site.
Your site is now created with an IPNS name. The subdomain
{site-name}.myfilebase.siteis now reserved for your site.
After creating a site, you'll need to associate it with a CID to make it accessible.
Associating Content with a Site
Once your site is created, you need to associate it with an IPFS CID:
Using the Web Console
Navigate to the Sites section and select your site.
Click Update Site or Set CID.
Enter the CID of the content you want to publish. This should be the root CID of your website files (typically an IPFS directory containing your
index.htmland other assets).Click Save to publish the content.
Your site will be accessible at
https://{site-name}.myfilebase.sitewithin a few minutes.
Using the @filebase/sdk
You can also manage sites programmatically using the Filebase SDK:
Updating Site Content
To update your site with new content:
Upload your new website files to an IPFS bucket to get a new CID.
Navigate to your site in the Sites section.
Click Update Site and enter the new CID.
Click Save to publish the update.
The IPNS record will be updated to point to the new CID. Your URL remains the same, but visitors will see the new content after the TTL expires (typically within 5 minutes).
Your site URL never changes when you update content. This makes it safe to share links and set up DNS records without worrying about broken URLs.
Viewing Site Details
From the Sites section, you can view:
Site Name: Your chosen site name
Subdomain: The full URL (
{site-name}.myfilebase.site)IPNS Name: The underlying IPNS key (k51qzi5uqu5d...)
Current CID: The IPFS CID currently published to the site
Custom Domain: Any custom domain configured for the site
Created Date: When the site was created
Last Updated: When the site content was last changed
Deleting a Site
To delete a site:
Navigate to the Sites section and select the site you want to delete.
Click Delete Site.
Confirm the deletion.
Deleting a site releases the site name, making it available for other users. This action cannot be undone. Your IPFS content will remain pinned in your bucket, but the IPNS name and subdomain will no longer work.
Best Practices
Preparing Your Website Files
Before creating a site, ensure your website files are properly structured:
Include an
index.htmlfile at the root of your directoryUse relative paths for all assets (CSS, JS, images)
Test your site locally before uploading
Uploading Website Content
Create an IPFS bucket if you don't have one already.
Upload your website folder to the bucket. The folder will receive a CID.
Use this folder CID when associating content with your site.
Version Management
Consider keeping previous versions of your site:
Use descriptive folder names when uploading (e.g.,
website-v1.2.0)Keep old CIDs documented in case you need to rollback
Test new versions on a staging site before updating production
Last updated