dWeb tutorial: Personal decentralized web site

1. Introduction

One benefit of running of our program is that it automatically enables individual/personal web site of the user.

However there are some pre requisites in order for this decentralized web site to be visible for the world.

When starting the dWeb program for the first time the user has to establish identity based on an e-mail address. You can find more details and information about identity here -
User identity and inviting other users

Another very important requirement is to have enabled 'inward' type communication. If not familiar with the term please check -
Outward and inward communication
Testing outward and inward IP communication
Enabling inward communication

!!! Important !!!
The e-mail address which is used as an individual identity is serving as the domain name of the user.

Other users of the dWeb program can access this domain based on e-mail address from any part of the world.

The whole domain name service (DNS) of the centralized client-server model is replaced by using an e-mail address in our decentralized web model.



2. Browsing your own dWeb site

When installed, the dWeb program is placed in the - c:\dweb (Windows), or /home//dweb (Linux/MacOS) folder.

There is a 'dwsite' sub-folder - c:\dweb\dwsite (Windows), or /home//dweb/dwsite (Linux/MacOS) which contains the files of the initial/default web site of the user.

When the dWeb program is started the user can open a web browser and type -
http://localhost:1248

demo personal site

This will pull the 'index.html' file from the 'dwsite' folder and show it in the browser. There are number of additional files loaded - .jpg image file, and a .mp4 video file.

Here is a list of types of files and file extensions supported in a decentralized site:
- application: "ogg", "pdf", "json", "xml", "zip"
- image: "gif", "jpeg", "png", "tiff","ico"
- text: "css", "csv", "html", "xml","js","txt"
- audio: "mp3"
- video: "mp4", "webm","mov","qt","mpeg4","wmv","flv"

To access a specific file or page type in a web browser for ex. -
http://localhost:1248/about-us.htm

While java script is supported as included in the 'text' type of files, server side scripts like for ex. .php are not supported.

It is recommended that the user modifies, customizes, or replaces right away their initial / default site.



3. Browsing dWeb sites of other dWeb users

As stated above the e-mail address which is used as individual identity is serving as the domain name of the user.

To access the dWeb site of another user on the dWeb platform like for ex. one using the e-mail address - paa12345@yahoo.com , open a web browser and type -
http://localhost:1248/paa12345@yahoo.com

This will pull the 'index.html' file from the 'dwsite' folder of the user with e-mail address - paa12345@yahoo.com and show it in the browser.

To access a specific file or page of the specific remote user type in a web browser for ex. -
http://localhost:1248/paa12345@yahoo.com/contact-us.htm



4. Visibility of dWeb sites

The dWeb site of the user who started the dWeb program is always visible on their own computer system.

An internet user is always participating in 2 networks - local and global network.
Details on these networks are available in this article -
Local and global IP addresses

As stated above a very important requirement is to have enabled 'inward' type communication.

Even if 'inward' type communication is not enabled, the dWeb site of the user who started the dWeb program is always visible for other users on the local network.

For example 2 or more users at home or at work will be able to see each other's dWeb sites.

In order to have the dWeb site of the user to be visible globally / worldwide the 'inward' type communication has to be enabled.

   Support our project - become our patron on Patreon:   Patreon - Decentralized Web

Back

Software release:
User software - tutorial on download, install and use |||||| Downloads -       User software - Windows release       User software - Mac OS release       User software - Linux release
Bridge software - install and use |||||| Downloads -   User software - Android release       User software - Raspberry Pi 3 release       User software - ESP01 release      

           Email:   Send us an email            Twitter:   Twitter - Decentralized Web            LinkedIn:   LinkedIn - Decentralized Web            Instagram:   Instagram - Decentralized Web