The screenshot below shows an example folder structure. A parent folder contains HTML files and images along with a sub-folder, containing images for a specific page of the website. (In this case team pictures for the ethoLABS website.) This demonstrates that it is possible to upload a folder structure to ethoFS.
Open the browser of your choice and ensure you have unlocked your ETHOMask Wallet.
Once you've unlocked ETHOMask go to https://uploads.ethofs.com/
You will be presented with a page which lists all of your active contracts and some ethoFS stats, scroll down to the ethoFS Hosting Contracts section:
To start a new hosting contract, click on the green button named New Hosting Contract. You will then be presented with the contract setup system:
To upload your folder, click on the cloud icon. You will then need to upload the parent website folder, as shown in the screenshot below. (Do not upload the files individually, instead upload the complete folder.)
Following selection of the website folder, you will see the previously blank section of the window become populated with the contents of the website folder. (This is a good opportunity to double check that all the files are present.)
Then scroll down and enter a contract name. In this example "ETHOLABS" was used.
You will now need to select the duration of the contract. On ethoFS the contract length is measured in blocks, so select the desired contract duration using the drop down menu, shown in the screenshot below. (In order to estimate the block time, you can multiply the block time by the number of blocks to determine an estimate for the duration of the hosting contract in seconds.)
Then in the bottom corner you will be able to see how much $ETHO the hosting contract costs:
Then click confirm:
A new screen should open - this is the ETHOMask transaction approval screen which will look like this:
Click submit and the Etho Mask pop-up will close. A new pop-up will appear, showing the status of the payment:
Before the file upload begins, you will need to wait until the transaction is confirmed by the network. You will see a notification from the ETHO Mask Wallet, along with the ethoFS upload status pop-up.
Once the ethoFS upload status reached 100%, your files have been uploaded to the ethoFS network. You will be returned to the first screen listing your contracts:
Click on the contract, you will be greeted by another pop-up which contains the contract details this is very important, scroll down until you see this:
You need to copy the content hash to setup your TLD
Step 1: Head over your domain provider and login.
Step 2: Setup a your domain in our case we created the subdomain: ethoFS (Make your CNAME Record the name of the subdomain you want, in the example below it's goog.domainnamehere.com). We do this via a CNAME record which points to:
Step 3: This is where you need the content hash. You're going to need to setup a TXT record called (note: .goog matches the subdomain name you chose for your CNAME record above):
Then inside the TXT record you will need to enter this:
Once done it should look similar to this:
Step 4: Visit your website! Please Note: Your website might not be available immediately as it can take a bit of time for DNS changes to propagate over the internet.