Create a Decentralized Website | ENS Support (2024)

One of the most interesting and powerful features of ENS names is the ability to point them to webpages hosted on the decentralized web, creating a website where both the hosting and the domain name is entirely decentralized.

In this tutorial you will:

  1. Build a website

  2. Set up a GitHub repository

  3. Upload it to a decentralized storage using IPFS

  4. Point your ENS name to it

ENS supports several decentralized protocols apart from IPFS, but this tutorial only covers IPFS (for now).

Anyhow, let's get started!

In this section we'll create a basic website to deploy to IPFS using Heaven's Tools excellent Web3 website builder.

If you already have a website you'd like to upload, proceed to

  • Set up a GitHub repository

Create the website

Before we can upload a site to IPFS we have to first create it! There are many ways to do that, but in this guide we'll try to keep it simple by using Heaven's Tools which is a WYSIWYG, or "What You See Is What You Get", type editor where you don't have to know how to code.

All you need to do is go to Heaven's Tools website and drag blocks in the order you want them and Heaven's Tools will take care of the rest and build the site for you!

Go to Heaven's Tools website and use the drag and drop building blocks to create your site.

Create a Decentralized Website | ENS Support (1)

Download the website

Once you're happy with the site you've created click the Download button to download a compressed .zip archive of your website.

Create a Decentralized Website | ENS Support (2)

Go to GitHub and create an account.

Create a repository

Click New to create a new GitHub repository for your website.

Create a Decentralized Website | ENS Support (3)

Then choose a name for the repository.

Create a Decentralized Website | ENS Support (4)

Then scroll down and click on Create.

Create a Decentralized Website | ENS Support (5)

Upload your files to the repository

On the next screen, click the link Uploading an existing file

Create a Decentralized Website | ENS Support (6)

Upload your files to GitHub

Create a Decentralized Website | ENS Support (7)

After that's done, scroll down and click Commit.

Create a Decentralized Website | ENS Support (8)

IPFS, or the InterPlanetary FileSystem, is a decentralized storing protocol we'll use to store our website files in, and serve them from. For this tutorial we'll use a so called "pinning service" to store our files on IPFS but it's also possible to pin files yourself using a local IPFS node.

The benefit of using a pinning service is that you'll not need to run your own IPFS node to make sure that your website is accessible.

Create an account with Fleek

Go to Fleek's website and Sign Up for an account.

Upload your site to Fleek

After logging into Fleek, at the dashboard select Add new site.

Create a Decentralized Website | ENS Support (9)

Choose Connect with GitHub and connect your GitHub account.

Create a Decentralized Website | ENS Support (10)

Click Install & Authorize

Create a Decentralized Website | ENS Support (11)

When asked which repository to create the website from, select the repository you created earlier in Step 1.

Create a Decentralized Website | ENS Support (12)

For the hosting service, make sure IPFS is selected and press Continue.

Create a Decentralized Website | ENS Support (13)

On the next screen no changes are necessary, so just scroll down and click Deploy site.

Create a Decentralized Website | ENS Support (14)

Fleek will now deploy the website to IPFS, which might take a little while.

Create a Decentralized Website | ENS Support (15)

When the site has been deployed, it will look like this:

Create a Decentralized Website | ENS Support (16)

Select the IPFS CID (marked in blue below) and press CTRL + C to copy it into the clipboard or write it down.

Create a Decentralized Website | ENS Support (17)

Go to the ENS Manager App

Go to the ENS Manager App with the wallet set as Manager for the ENS name you want to manage and click Names to bring up a list of your ENS names or search for an ENS name you own directly from the main page.

Create a Decentralized Website | ENS Support (18)

Click the ENS name you want to add the content record to.

Create a Decentralized Website | ENS Support (19)

Go to the Records tab

Create a Decentralized Website | ENS Support (20)

Click Edit Records

Create a Decentralized Website | ENS Support (21)

Then go to the Other tab

Create a Decentralized Website | ENS Support (22)

Type in the IPFS CID you saved earlier into the Content field and then click Save

Create a Decentralized Website | ENS Support (23)

Click Open Wallet and confirm the transaction in your wallet.

Create a Decentralized Website | ENS Support (24)

Wait for the transaction to complete.

Create a Decentralized Website | ENS Support (25)

Once the transaction has completed you should see a screen like this, it means that the changes to the content record is now stored on-chain. Click Done to go back to the Manager.

Create a Decentralized Website | ENS Support (26)

You should now see the Content Hash record populated with the IPFS CID you entered.

Create a Decentralized Website | ENS Support (27)

Congratulations! That's it! Now you can try visiting your website!

ENS Compatible browsers

For ENS resolution in the browser address bar to work, the browser needs to be compatible with ENS or have the Metamask extension installed.

Some browsers which are more oriented towards Web3 support ENS right out of the box:

Other browsers will need to have an extension installed for it to work, such as the Metamask browser extension:

Web3 Gateway

You can also use the eth.limo web3 gateway by entering in your-ens-name.eth.limo into any browser address bar, regardless of if it supports ENS names natively or not.

Related Articles

ENS Use-casesWhat is ENS?GeneralIPFS CIDs Stored in Content Hash RecordHow to Edit Profile
Create a Decentralized Website | ENS Support (2024)

FAQs

Create a Decentralized Website | ENS Support? ›

Create a Decentralized Website​

One of the most interesting and powerful features of ENS names is the ability to point them to webpages hosted on the decentralized web, creating a website where both the hosting and the domain name is entirely decentralized.

Can I use ens for a website? ›

Create a Decentralized Website​

One of the most interesting and powerful features of ENS names is the ability to point them to webpages hosted on the decentralized web, creating a website where both the hosting and the domain name is entirely decentralized.

What is a decentralized web hosting system? ›

The decentralized web is a network of independent computers that provide secure, censorship-resistant access to information and services without relying on central servers or clouds, using decentralized computing.

How to host a Web3 website? ›

Web3 Hosting: A Beginner's Guide on How to Host a Decentralized...
  1. Step 1: Create Website Files.
  2. Step 2: Acquire a Domain Name.
  3. Step 3: Host the Files on the Network.
  4. Step 4: Connect the Domain and Website Files.
  5. Step 5: Test Your Decentralized Website.
Oct 29, 2023

Is WordPress decentralized? ›

FAQs. What is Web3 WordPress hosting? Thanks to Flux, business owners, developers, and other users can now run their WordPress websites on a vast, decentralized cloud infrastructure, without fear of deplatforming or censorship by centralized authority.

How much does it cost to create a decentralized exchange? ›

The exact cost of developing a crypto exchange platform from scratch will range from $75,000 to $1,00,000. You have to segregate at the initial stage of the development process to reduce the confusion. You may think that, is it worth developing a crypto exchange platform from scratch.

Why are people buying ENS domains? ›

The ENS system is designed to be resistant to censorship

This makes the system resistant to censorship, as no one can interfere with or block access to your domain name. This ensures that you are able to keep it safe and secure for as long as you own it.

How much does ENS domain cost? ›

3, 4, and 5 Letter Names

eth will cost you 5 USD per year. A 4 letter 160 USD per year, and a 3 letter 640 USD per year. This pricing structure is done to promote market diversity as there are an exponentially less amount of names the shorter they become.

Can ENS replace DNS? ›

Once those records are stored, developers can resolve these records programmatically using resolvers on the blockchain. It is important to note that ENS does not seek to replace DNS.

Is Web3 fully decentralized? ›

Key Points. Web3 is decentralized Internet that uses blockchain technology. Technological innovations built on Web3 may improve security and privacy. Web3 applications may transform all aspects of the financial system.

Is DNS Decentralised? ›

Think of a decentralized DNS as a domain name system that doesn't rely on a centralized authority or hierarchy. At the time of this writing, the nature of domain registries and ICANN means they are entirely centralized.

How to build a decentralised website? ›

How to host a decentralized website
  1. Create website files. First, use Web3 tools and technologies to construct the website files. ...
  2. Choose a domain name. Once the website files are created, pick a domain name for the website. ...
  3. Store files on the network. ...
  4. Point domain name to website files. ...
  5. Test website.
Mar 11, 2023

How to create a Web 3.0 website? ›

How to Create a Web3 Website?
  1. Web3 Ideation and Requirements Finalization.
  2. Create a suitable UI/UX for the web3 website.
  3. Develop necessary Backend codes.
  4. Add Web3 protocols and functionalities.
  5. Integration of Web3 APIs and languages.
  6. Website Testing and Bug fixing.
  7. Web3 website deployment in server.

How do I get a domain for Web3? ›

Where can I buy Web3 domain names? Web3 domain names are sold by specific crypto domain registrar platforms. Among the most notable of these platforms, you have names such as ENS and Unstoppable Domains.

What is decentralization in web? ›

“A Decentralized Web is a network of resources in which no one player can control the conversation or spin it to [his or her] exclusive advantage.”

Can we make a decentralized Internet? ›

There is no such thing as inherently decentralized technology. While it may not be possible or even advisable to decentralize all aspects of the Internet fully, we can restore decentralization in critical areas that enable indiscriminate access to digital services through policies and collective action.

How do you make a decentralized platform? ›

Building Decentralized Applications (DApps): A Step-by-Step Guide for Software Developers
  1. Step 1: Define Your DApp Concept. ...
  2. Step 2: Design Your DApp Architecture. ...
  3. Step 3: Develop Smart Contracts. ...
  4. Step 4: Integrate with Blockchain. ...
  5. Step 5: Implement Decentralized Storage. ...
  6. Step 6: Test and Deploy Your DApp.
Feb 22, 2024

Top Articles
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 6369

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.