This is a short guide, through which you can have your site running for free in few minutes!! So, let’s get started
Step 1: Installing IPFS
I am on a Linux 16.04 LTS system, but if you are a windows user, then life is easy for you(at-least for installation purposes). Just go here and proceed to Step 2. For Mac users, it’s just same as for Linux.
Open up your terminal and execute the code given below.
$ wget https://dist.ipfs.io/go-ipfs/v0.4.14-rc1/go-ipfs_v0.4.14-rc1_linux-amd64.tar.gz
$ tar xf go-ipfs_v0.4.14-rc1_linux-amd64.tar.gz
$ sudo mv go-ipfs/ipfs /usr/local/bin/ipfs
$ ipfs init
Voila. You have a working ipfs node.
Note: you may have to download a different IPFS source if the above version gets outdated.
Step 2: Uploading your site to IPFS network
Now, execute this following command
This will start IPFS daemon and connect your local node to IPFS public network.
Now, power up a new terminal(keep the daemon running) and move to the folder of your awesome site. Lets say its name is
my_awesome_site . I have added a file in the directory named
Now, execute the following commands while in parent directory of
ipfs add -r my_awesome_site
Your terminal will spit out a set of random strings. This(the hash of your root folder) is your <hash> by which you can access your site. If you wait for few minutes(to get your files pinned in the IPFS network) then you can see your data via the below link
Step 3: Forwarding your site to IPFS gateway URL
And you are done.
If you want to host your website with a domain name, head here: